/*
====================================
LANDING PAGE - 4eSport
Black & White Theme
====================================
*/

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray: #808080;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--black);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ================== CONTAINER ================== */
.landing-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================== ANIMATED BACKGROUND ================== */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.02) 40px,
            rgba(255, 255, 255, 0.02) 41px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.02) 40px,
            rgba(255, 255, 255, 0.02) 41px
        );
    animation: gridScroll 20s linear infinite;
    z-index: 1;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

/* ================== HEADER ================== */
.landing-header {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px 20px 20px;
    animation: headerFadeIn 1s ease-out;
}

@keyframes headerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 15px;
}

.landing-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.5));
    }
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* ================== MAIN CONTENT ================== */
.landing-main {
    position: relative;
    z-index: 10;
    flex: 1;
    padding: 20px 20px 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ================== CARDS GRID ================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    animation: cardsSlideUp 1s ease-out 0.3s backwards;
}

@keyframes cardsSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================== PAGE CARD ================== */
.page-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px 20px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}

.page-card:hover::before {
    left: 100%;
}

.page-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.page-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.card-description {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.card-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: auto;
}

/* ================== FOOTER ================== */
.landing-footer {
    position: relative;
    z-index: 10;
    padding: 25px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: footerFadeIn 1s ease-out 0.6s backwards;
}

@keyframes footerFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* ================== DECORATIVE CORNERS ================== */
.corner {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
    animation: cornerPulse 4s ease-in-out infinite;
}

@keyframes cornerPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .subtitle {
        font-size: 16px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-title {
        font-size: 24px;
    }

    .footer-social {
        flex-direction: column;
        gap: 15px;
    }

    .divider {
        display: none;
    }
}
