:root {
    --primary-color: #00ff88;
    --secondary-color: #00b8ff;
    --accent-color: #ff3366;
    --dark-color: #0a0f1c;
    --light-color: #ffffff;
    --gradient-1: linear-gradient(135deg, #00ff88 0%, #00b8ff 100%);
    --gradient-2: linear-gradient(135deg, #ff3366 0%, #ff6b3d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: var(--dark-color);
    color: var(--light-color);
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assest/background.jpg') center/cover no-repeat fixed;
    opacity: 0.2;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.8);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.95);
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.1);
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 80%;
}

.hero {
    height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-2);
    color: var(--dark-color);
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--light-color);
    opacity: 0.8;
    font-size: 1rem;
}

.server-ip-container {
    margin: 2rem 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-button.primary {
    background: var(--gradient-1);
    color: var(--dark-color);
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero-button:hover {
    transform: none;
}

.hero-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-text {
    color: var(--light-color);
    opacity: 0.7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 51, 102, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.server-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.05);
}

.server-ip {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: rgba(10, 15, 28, 0.8);
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.server-ip:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.copy-ip {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: var(--gradient-1);
    color: var(--dark-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copy-ip:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    padding: 5rem 2rem;
    position: relative;
    background: rgba(10, 15, 28, 0.7);
    margin: 2rem 0;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.05);
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(10, 15, 28, 0.8);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.feature-card i {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 3rem 2rem;
    min-height: 180px;
    background: rgba(10, 15, 28, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.step:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    color: var(--dark-color);
}

.rules-list {
    max-width: 800px;
    margin: 0 auto;
}

.rule {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: rgba(10, 15, 28, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.rule:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.rule i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
}

footer {
    background: rgba(10, 15, 28, 0.95);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.social-links {
    margin-bottom: 1rem;
}

.social-link {
    color: var(--light-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    height: 2rem;
    width: 2rem;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--primary-color);
    height: 4px;
    width: 2rem;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s;
}

.nav-toggle-label span {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    content: '';
    top: -10px;
    left: 0;
}

.nav-toggle-label span::after {
    content: '';
    top: 10px;
    left: 0;
}

@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content {
        padding: 0 1rem;
    }
    .server-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.7rem;
    }
    .navbar {
        flex-direction: row;
        padding: 1rem 1rem;
    }
    .nav-links {
        font-size: 1rem;
    }
}

@media (max-width: 700px) {
    .hero-content {
        padding: 0 0.5rem;
    }
    .feature-card, .step, .rule {
        padding: 1.2rem 0.7rem;
        font-size: 0.98rem;
    }
    .feature-grid, .steps, .rules-list {
        gap: 1rem;
    }
    section {
        padding: 2.5rem 0.5rem;
        margin: 1rem 0;
    }
    h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    .server-ip-container {
        flex-direction: column;
        align-items: stretch;
    }
    .server-ip {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 0.5rem;
    }
    .navbar {
        flex-direction: row;
        padding: 0.9rem 1.2rem 0.9rem 0.7rem;
        height: 64px;
        min-height: 64px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
        align-items: center;
        background: rgba(10, 15, 28, 0.98);
        transition: box-shadow 0.2s, background 0.2s;
    }
    .navbar-logo {
        width: 56px;
        height: 56px;
        margin-left: 2px;
        margin-right: 1rem;
        transition: width 0.2s, height 0.2s;
    }
    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 1.2rem;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        cursor: pointer;
        z-index: 1100;
    }
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        width: 28px;
        height: 3.5px;
        border-radius: 2px;
    }
    .nav-links {
        position: fixed;
        top: 64px;
        right: 0;
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 15, 28, 0.98);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: -2px 0 16px rgba(0,0,0,0.15);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        z-index: 1200;
        opacity: 0.98;
        display: flex;
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .nav-links li {
        margin: 0 0 1.2rem 0;
        width: 100%;
    }
    .nav-links a {
        width: 100%;
        padding: 1rem 0.5rem;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    .nav-toggle {
        display: block;
        position: absolute;
        right: 1.2rem;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        opacity: 0;
        z-index: 1300;
    }
    .nav-toggle:checked ~ .nav-links {
        transform: translateX(0);
        display: flex;
        opacity: 1;
    }
    .sticky-footer-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        background: rgba(10, 15, 28, 0.98);
        z-index: 2000;
        justify-content: space-between;
        align-items: stretch;
        padding: 0;
        border-top: 1.5px solid rgba(0,255,136,0.13);
        box-shadow: 0 -2px 12px rgba(0,0,0,0.13);
        backdrop-filter: blur(8px);
        min-height: 56px;
        max-height: 60px;
        transition: box-shadow 0.2s, background 0.2s;
    }
    .sticky-footer-mobile a, .sticky-footer-mobile button {
        flex: 1 1 0;
        color: var(--light-color);
        background: none;
        border: none;
        font-size: 0.92rem;
        padding: 0.2rem 0 0.1rem 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.18rem;
        cursor: pointer;
        border-radius: 10px;
        min-width: 0;
        min-height: 54px;
        max-height: 60px;
        transition: background 0.18s, color 0.18s;
        outline: none;
        text-decoration: none;
        font-weight: 500;
        line-height: 1.1;
        text-align: center;
    }
    .sticky-footer-mobile a:active, .sticky-footer-mobile button:active,
    .sticky-footer-mobile a:focus, .sticky-footer-mobile button:focus {
        background: rgba(0,255,136,0.08);
        color: var(--primary-color);
    }
    .sticky-footer-mobile i {
        font-size: 1.35rem;
        margin-bottom: 0.13rem;
        display: block;
    }
    body {
        padding-bottom: 62px !important;
    }
    .back-to-top {
        display: block;
        position: fixed;
        right: 1rem;
        bottom: 4.5rem;
        background: var(--gradient-1);
        color: var(--dark-color);
        border: none;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        z-index: 2100;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s;
    }
    .back-to-top.hide {
        display: none;
    }
    footer {
        padding: 1.2rem 0.5rem;
    }
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.2rem;
    }
    .social-link {
        font-size: 2rem;
        margin: 0.5rem 0;
    }
    footer p, footer a {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

/* Toast message for copy IP */
.toast {
    position: fixed;
    left: 50%;
    bottom: 6rem;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: var(--dark-color);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.toast.show {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 500px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-badge {
        font-size: 0.9rem;
        padding: 0.3rem 1rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .stat-number {
        font-size: 1.2rem;
    }
    .hero-buttons .hero-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
    .server-ip {
        font-size: 1rem;
        padding: 0.7rem 1rem;
    }
} 