/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px; /* Okunabilirlik: minimum 16px temel metin */
}

body {
    font-family: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem; /* 16px – okunabilir temel metin boyutu */
    background: #0a0a0f;
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Okunabilirlik: paragraf ve içerik metni en az 16px (1rem) */
p, .description-text, .help-text, .server-description, .server-status-text,
.server-gamemode, .showcase-description, .feature-description, .help-text-container .help-text {
    font-size: 1rem;
}

/* Header Styles */
.header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center; position: relative;
    align-items: center;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
}

.main_logo {
    margin: 0;
    margin-left: 10rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.main_logo img {
    height: 120px;
    width: auto;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main_logo img:hover {
    transform: scale(1.05);
}

/* Navigation Styles */
.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.html-button {
    text-decoration: none;
    display: inline-block;
}

.nav-button {
    font-family: 'Red Hat Display', sans-serif !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    outline: 1px solid transparent;
    outline-offset: 2px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-button:hover::before {
    width: 300px;
    height: 300px;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    outline: 1px solid rgba(255, 255, 255, 0.2);
    outline-offset: 2px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-button:active {
    transform: translateY(0);
}

.subnav {
    position: relative;
}

.subnav-content {
    display: none;
    position: absolute;
    top: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.subnav:hover .subnav-content {
    display: block;
}

.subnav-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s ease;
    text-align: center;
}

.subnav-content a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.subnav-content a img.server-list-logo {
    max-width: 160px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Hamburger Menu */
.side-menu {
    display: none;
}

.hamb {
    display: none;
    cursor: pointer;
}

.hamb-line {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Content Container */
.content_container {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    overflow-x: hidden;
    width: 100%;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

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

/* Main Section */
.main_section {
    text-align: center;
    padding: 4rem 0;
}

.mid_part {
    margin: 2rem 0;
}

.mid_part .logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.info_top h2 {
    font-size: 1.125rem;
    font-weight: normal;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Titles */
.section_title {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.section_subtitle {
    display: block;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* People Section */
.last_section {
    padding: 4rem 0;
}

.people {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.person-card-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.person-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.person-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.person-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.person-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Footer */
footer {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.logo-container {
    display: flex;
    justify-content: center;
}

.logo-container img.cn {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px) {
    .header {
        padding: 0.8rem 1.5rem;
        height: auto;
        min-height: 70px;
    }

    .main_logo {
        margin-left: 0;
    }

    .main_logo img {
        height: 50px;
        max-height: 50px;
    }

    .nav-button {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
        height: auto;
        min-height: 60px;
        flex-wrap: wrap;
        position: relative;
    }

    .main_logo {
        margin: 0;
        margin-left: 0;
        order: 1;
    }

    .main_logo img {
        height: 40px;
        max-height: 40px;
        width: auto;
    }

    .hamb {
        display: block;
        order: 2;
        margin-left: auto;
    }

    .nav {
        display: none;
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }

    .side-menu:checked ~ .nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .menu {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        width: 100%;
    }

    .nav-button {
        width: 100%;
        text-align: left;
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .html-button {
        width: 100%;
    }

    .subnav-content {
        position: static;
        display: block;
        width: 100%;
        box-shadow: none;
        margin-top: 0.5rem;
        background: rgba(255, 255, 255, 0.05);
    }

    .mid_part .logo {
        max-width: 250px;
    }

    .info_top h2 {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .content_container {
        padding: 1rem 0;
    }

    .content {
        padding: 0 1rem;
    }

    .main_section {
        padding: 2rem 0;
    }

    .section_title {
        font-size: 2rem;
    }

    .section_subtitle {
        font-size: 1.0625rem;
    }

    .people {
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .person-card {
        min-width: 180px;
        padding: 1.2rem;
    }

    footer {
        padding: 1.5rem;
    }

    .logo-container img.cn {
        max-width: 150px;
    }

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

    .server-card {
        min-height: 600px !important;
    }

    .server-content {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .server-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-left: 1rem;
    }

    .server-header h3 {
        font-size: 1.5rem;
    }

    .server-description {
        font-size: 1rem;
        padding-left: 1rem;
        margin-top: 1rem;
    }

    .server-status-text {
        padding-left: 1rem;
        font-size: 1rem;
    }

    .server-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0.8rem;
        min-height: 55px;
    }

    .main_logo img {
        height: 35px;
        max-height: 35px;
    }

    .nav-button {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }

    .mid_part .logo {
        max-width: 200px;
    }

    .info_top h2 {
        font-size: 1rem;
        padding: 0 0.8rem;
        line-height: 1.5;
    }

    .content {
        padding: 0 0.8rem;
    }

    .main_section {
        padding: 1.5rem 0;
    }

    .section_title {
        font-size: 1.5rem;
    }

    .section_subtitle {
        font-size: 1rem;
    }

    .people {
        gap: 1rem;
    }

    .person-card {
        min-width: 150px;
        padding: 1rem;
    }

    .person-avatar {
        width: 120px;
        height: 120px;
    }

    .person-name {
        font-size: 1.2rem;
    }

    footer {
        padding: 1rem;
    }

    .logo-container img.cn {
        max-width: 120px;
    }

    /* Server cards küçük ekran */
    .server-card {
        min-height: 500px !important;
    }

    .server-content {
        padding: 1rem;
        gap: 1rem;
    }

    .server-header h3 {
        font-size: 1.2rem;
    }

    .server-description {
        font-size: 1rem;
        padding-left: 0.5rem;
    }

    .server-status-text {
        padding-left: 0.5rem;
        font-size: 1rem;
    }

    .server-join-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .server-logo {
        width: 50px;
        height: 50px;
    }
}

/* 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;
}

.server-card {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: clamp(520px, 70vh, 900px) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    flex-direction: column !important;
    background-image: var(--server-bg, url('https://wallpapers.com/images/hd/scp-facility-monochrome-q8a4bdb4jne89gn1.jpg')) !important;
    background-size: cover !important;
    background-position: var(--server-bg-pos, center center) !important;
    background-repeat: no-repeat !important;
    background-color: #0a0a0f !important;
    margin: 0 !important;
    left: 50%;
    transform: translateX(-50%);
}



/* Blur efekti - artık server-content-blur kullanılıyor */

/* Blur alanı */
.server-content-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* İçerik - blur'un içinde */
.server-content {
    position: relative;
    z-index: 2;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 8vw, 6rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Logo */
.server-logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 80px;
    height: 80px;
    object-fit: contain;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.server-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.server-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.server-name-logo {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.server-logo-blur {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
}

.server-description {
    color: #fff;
    font-size: 1.1rem;
    margin: 1.5rem 0 0 0;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
    max-width: 900px;
}

.server-status-text {
    color: #fff;
    font-size: 1rem;
    margin: 1rem 0 2rem 0;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.server-players {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.server-join-btn {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-join-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

    .server-card {
        min-height: clamp(480px, 65vh, 820px) !important;
    }

    .server-content {
        padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 6vw, 3.5rem);
        gap: 1.75rem;
    }
}

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

    .server-card {
        min-height: clamp(420px, 75vh, 700px) !important;
    }

    .server-content {
        padding: clamp(1.8rem, 6vw, 2.4rem) clamp(1.25rem, 7vw, 2rem);
        gap: 1.5rem;
    }

    .server-header {
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .server-description,
    .server-status-text {
        margin-left: 0;
        max-width: 100%;
    }

    .server-name-logo {
        max-height: 120px;
    }
}

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

    .server-card {
        min-height: clamp(380px, 80vh, 600px) !important;
    }

    .server-content {
        padding: clamp(1.4rem, 6vw, 1.8rem) clamp(1rem, 7vw, 1.6rem);
        gap: 1.25rem;
    }

    .server-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .server-status-text {
        font-size: 1rem;
    }

    .server-name-logo {
        max-height: 100px;
    }
}

/* ========== NEW ZGRAD-STYLE STYLES ========== */

/* Navbar Styles */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.navbar-logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 2rem;
    z-index: 1002;
}

.navbar-logo-img {
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-logo-img:hover {
    transform: scale(1.05);
}

.navbar-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center; justify-content: center; 
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

.navbar-social {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-social-item {
    list-style: none;
}

.navbar-follow-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-social-link {
    color: #ffffff;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.nav-social-link:hover {
    color: #ff6b6b;
}

.social-icon {
    width: 24px;
    height: 24px;
}

.navbar-hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1003;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5rem 2rem 2rem;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-height: 100vh;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
}

.mobile-menu .navbar-nav {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}

.mobile-menu .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .nav-item:last-child {
    border-bottom: none;
}

.mobile-menu .nav-link {
    display: block;
    padding: 1.2rem 0;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover {
    color: #ffffff;
    padding-left: 1rem;
}

/* 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;
}

.logo-container {
    margin-bottom: 2rem;
}

.landing-logo {
    max-width: 800px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.landing-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.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;
}

.server-info {
    text-align: left;
}

.server-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.server-players {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.server-gamemode {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.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-indicator-container {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    transition: opacity 0.3s ease;
}

.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;
}

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

/* 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;
}

@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);
    }
}

.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;
}

.player-count {
    text-align: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.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;
}


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

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 350px;
    max-width: 400px;
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-sizing: border-box;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 0.4rem;
    display: block;
    filter: brightness(0) invert(1);
}

.feature-icon-svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-svg svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.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;
}

.showcase-item {
    margin-bottom: 5rem;
    position: relative;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-text {
    color: #ffffff;
}

.showcase-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.showcase-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.showcase-video {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.showcase-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.lazy-video {
    background: rgba(0, 0, 0, 0.3);
    min-height: 300px;
}

/* Alternate layout for showcase items */
.showcase-item:nth-child(even) .showcase-content {
    direction: rtl;
}

.showcase-item:nth-child(even) .showcase-content > * {
    direction: ltr;
}

/* 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-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.help-subtext {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.help-subtext:hover {
    color: #ff5252;
}

.discord-help-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #5865F2;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.discord-help-button:hover {
    background: #4752C4;
    transform: translateY(-2px);
}


.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;
}

/* Team Section */
.team-section {
    padding: 5rem 2rem;
    background: #0a0a0f;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    text-align: center;
}

.footer-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive Styles for New Sections */
/* Responsive Showcases */
@media (max-width: 768px) {
    .feature-showcases {
        margin-top: 3rem;
        padding: 0 1rem;
    }

    .showcase-item {
        margin-bottom: 3rem;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-title {
        font-size: 1.5rem;
    }

    .showcase-description {
        font-size: 1rem;
    }

    .showcase-item:nth-child(even) .showcase-content {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
        justify-content: space-between;
        min-height: 60px;
        align-items: center;
    }

    .navbar-logo {
        position: absolute;
        left: 1rem;
        z-index: 1002;
    }

    .navbar-logo-img {
        height: 35px;
        max-height: 35px;
        width: auto;
    }

    .navbar-container {
        justify-content: flex-end;
        width: 100%;
        position: relative;
    }

    .navbar-hamburger {
        display: flex;
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1003;
        padding: 0.5rem;
    }

    .navbar-nav:not(.mobile-menu .navbar-nav) {
        display: none;
    }

    .navbar-social:not(.mobile-menu .navbar-social) {
        display: none;
    }

    .mobile-menu {
        top: 0;
        padding-top: 70px;
        min-height: 100vh;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .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-item {
        min-width: 200px;
        max-width: 250px;
        width: 220px;
        padding: 1rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-description {
        font-size: 1rem;
    }

    .join-row {
        flex-direction: column;
    }
}

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0.75rem;
        min-height: 55px;
    }

    .navbar-logo {
        left: 0.75rem;
    }

    .navbar-logo-img {
        height: 30px;
        max-height: 30px;
    }

    .navbar-hamburger {
        right: 0.25rem;
        padding: 0.4rem;
    }

    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }

    .mobile-menu {
        padding-top: 65px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mobile-menu .nav-link {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .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-item {
        min-width: 180px;
        max-width: 220px;
        width: 200px;
        padding: 0.9rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-description {
        font-size: 1rem;
    }
}

/* Very Small Devices (360px and below) */
@media (max-width: 360px) {
    .navbar {
        padding: 0.5rem;
    }

    .navbar-logo {
        left: 0.5rem;
    }

    .navbar-logo-img {
        height: 28px;
        max-height: 28px;
    }

    .navbar-hamburger {
        right: 0.25rem;
        padding: 0.35rem;
    }

    .hamburger-line {
        width: 20px;
        height: 2px;
    }

    .mobile-menu {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .landing-container {
        padding: 0.75rem;
    }

    .homigrad-large {
        font-size: 1.75rem;
    }

    .homigrad-logo-wrap {
        width: 160px;
        height: 160px;
        padding-bottom: 50px;
    }
}
