/* Bolume ozel kurallar: landing, homigrad, gamemode, help, team. */

/* Servers container için özel - content dışına taşıyor */
#servers {
    margin: 2rem 0 !important;
}

/* Server Card Styles */
#servers {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
}

/* Landing Section */
.landing-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 30%, #16213e 60%, #0a0a0f 100%);
    background-attachment: fixed;
    width: 100%;
    box-sizing: border-box;
}
.landing-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-logo {
    max-width: 800px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}
.landing-buttons-inline {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.landing-button {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.landing-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}
.join-button-container {
    margin-top: 3rem;
}
.top-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.start-playing-text {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}
.join-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.join-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.join-button-large {
    padding: 1.2rem 3rem;
    background: #ff6b6b;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.join-button-large:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}
.landing-section-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #0a0a0f, transparent);
    z-index: 1;
}
.scroll-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}
.wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* Homigrad Section */
.homigrad-section {
    padding: 5rem 2rem;
    background: #0a0a0f;
    position: relative;
}
.homigrad-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem;
    gap: 3rem;
}

/* Sıra: Sol logo | Ortada başlık | Sağ logo */
.homigrad-logo-left {
    order: 1;
}
.homigrad-text {
    order: 2;
    flex: 0 1 auto;
    text-align: center;
    margin-bottom: 3rem;
    min-width: 0;
}
.homigrad-logo-right {
    order: 3;
}
.homigrad-logo-wrap {
    flex-shrink: 0;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    padding-bottom: 100px;
    /* Yansıma: aşağıda gradient şeffaflık (Chrome, Safari, Edge) */
    -webkit-box-reflect: below 14px linear-gradient(to bottom, rgba(255, 255, 255, 0.22), transparent 60%);
}
.homigrad-side-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* Tüm logoyu tek renk beyaz yap */
    filter: brightness(0) invert(1);
}
.homigrad-logo-3d {
    transform-style: preserve-3d;
}
.homigrad-logo-right .homigrad-logo-3d {
    animation: homigrad-logo-spin-2d-right 14s linear infinite;
}
.homigrad-logo-left .homigrad-logo-3d {
    animation: homigrad-logo-spin-2d-left 14s linear infinite;
}
.homigrad-small {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}
.homigrad-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.homigrad-line {
    display: block;
    text-align: center;
}
.homigrad-content {
    max-width: 1200px;
    margin: 0 auto;
}
.homigrad-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.description-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.description-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}
.features-container {
    margin-top: 4rem;
}
.features-content {
    max-width: 1200px;
    margin: 0 auto;
}
.features-title-container {
    text-align: center;
    margin-bottom: 3rem;
}
.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.features-list {
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.features-scroll-wrapper {
    overflow: hidden;
    position: relative;
    width: 100vw;
}
.features-scroll-content {
    display: flex;
    gap: 1.5rem;
    animation: scroll-horizontal 30s linear infinite;
    width: fit-content;
}
.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #ffffff;
}
.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Feature Showcases */
.feature-showcases {
    margin-top: 5rem;
    padding: 0 2rem;
}
.lazy-video {
    background: rgba(0, 0, 0, 0.3);
    min-height: 300px;
}

/* Gamemode Section */
.gamemode-section {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}
.gamemode-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    z-index: 0;
}
.gamemode-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}
.gamemode-header {
    text-align: center;
    margin-bottom: 3rem;
}
.gamemode-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.gamemode-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}
#servers-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Help Section */
.help-section {
    padding: 5rem 2rem;
    background: #0a0a0f;
}
.help-container {
    max-width: 1200px;
    margin: 0 auto;
}
.help-section-content {
    text-align: center;
}
.help-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}
.help-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}
.help-text-container {
    margin-bottom: 1.5rem;
}
.help-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}
.help-button-container {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}
.forum-help-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.forum-help-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.guidelines-link-container {
    margin-top: 2rem;
}
.guidelines-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.guidelines-link:hover {
    color: #ffffff;
}
.arrow-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {

    /* Server cards responsive */
    #servers {
        padding: 1rem 0 !important;
        margin: 1rem 0 !important;
    }
}


@media (max-width: 1024px) {
    #servers {
        padding: 0 !important;
    }
}


@media (max-width: 768px) {
    #servers {
        padding: 0 !important;
        margin: 1.5rem 0 !important;
    }
}


@media (max-width: 480px) {
    #servers {
        padding: 0 !important;
    }
}


@keyframes scroll {
    0%, 20% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}


@keyframes homigrad-logo-spin-2d-right {
    from {
        transform: rotateY(-22deg) rotate(0deg);
    }
    to {
        transform: rotateY(-22deg) rotate(360deg);
    }
}


@keyframes homigrad-logo-spin-2d-left {
    from {
        transform: rotateY(22deg) rotate(0deg);
    }
    to {
        transform: rotateY(22deg) rotate(-360deg);
    }
}


@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scroll-distance, calc(-50% - 1.5rem)));
    }
}


@media (max-width: 768px) {
    .feature-showcases {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    .homigrad-large {
        font-size: 3rem;
    }
    .homigrad-brand-row {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .homigrad-logo-wrap {
        width: 240px;
        height: 240px;
        padding-bottom: 70px;
    }
    .landing-logo {
        max-width: 400px;
    }
    .description-title,
    .features-title,
    .gamemode-main-title,
    .help-title {
        font-size: 2rem;
    }
    .feature-title {
        font-size: 1rem;
    }
    .feature-description {
        font-size: 1rem;
    }
    .join-row {
        flex-direction: column;
    }
}


@media (max-width: 480px) {
    .landing-container {
        padding: 1rem;
    }
    .landing-logo {
        max-width: 100%;
        width: 100%;
    }
    .homigrad-large {
        font-size: 2rem;
    }
    .homigrad-brand-row {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    .homigrad-logo-wrap {
        width: 200px;
        height: 200px;
        padding-bottom: 60px;
    }
    .description-title,
    .features-title,
    .gamemode-main-title,
    .help-title {
        font-size: 1.5rem;
    }
    .feature-title {
        font-size: 1rem;
    }
    .feature-description {
        font-size: 1rem;
    }
}


@media (max-width: 360px) {
    .landing-container {
        padding: 0.75rem;
    }
    .homigrad-large {
        font-size: 1.75rem;
    }
    .homigrad-logo-wrap {
        width: 160px;
        height: 160px;
        padding-bottom: 50px;
    }
}
