/* ===== TWIX.TF - FRUTIGER AERO THEME ===== */

:root {
    --sky-top: #0088dd;
    --sky-mid: #33aaff;
    --aero-green: #a8e063;
    --aero-green-dark: #7cb342;
    --aero-mint: #b8f5c8;
    --water-blue: #4fc3f7;
    --glass-green: rgba(180, 230, 200, 0.6);
    --text-dark: #1a5a3a;
    --text-mid: #2d7a5a;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-dark);
}

/* ===== BACKGROUND ===== */
.aero-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg,
        #006bb3 0%, #0099dd 25%, #33bbff 50%,
        #66ccff 70%, #99ddff 85%, #ccefff 100%);
    z-index: -10;
}

.aero-orbs { position: fixed; inset: 0; pointer-events: none; z-index: -5; }

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(180, 255, 210, 0.6) 0%,
        rgba(100, 220, 180, 0.3) 50%,
        rgba(80, 200, 160, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.orb-1 { width: 220px; height: 220px; top: 5%; left: -2%; background: radial-gradient(circle at 30% 30%, rgba(150, 230, 200, 0.5) 0%, rgba(100, 200, 170, 0.2) 50%, transparent 100%); }
.orb-2 { width: 160px; height: 160px; top: 18%; right: 6%; background: radial-gradient(circle at 30% 30%, rgba(130, 220, 255, 0.5) 0%, rgba(80, 180, 230, 0.2) 50%, transparent 100%); }
.orb-3 { width: 100px; height: 100px; bottom: 35%; left: 6%; background: radial-gradient(circle at 30% 30%, rgba(170, 245, 200, 0.5) 0%, rgba(120, 210, 160, 0.2) 50%, transparent 100%); }
.orb-4 { width: 80px; height: 80px; bottom: 18%; right: 10%; background: radial-gradient(circle at 30% 30%, rgba(140, 230, 255, 0.5) 0%, rgba(90, 190, 230, 0.2) 50%, transparent 100%); }
.orb-5 { width: 130px; height: 130px; top: 50%; left: 48%; background: radial-gradient(circle at 30% 30%, rgba(160, 240, 190, 0.5) 0%, rgba(110, 200, 150, 0.2) 50%, transparent 100%); }

.aero-leaves { position: fixed; inset: 0; pointer-events: none; z-index: -4; }
.leaf { position: absolute; font-size: 2.2rem; opacity: 0.5; }
.leaf-1 { top: 10%; right: 6%; }
.leaf-2 { bottom: 28%; left: 3%; font-size: 1.8rem; }
.leaf-3 { top: 50%; right: 12%; font-size: 1.6rem; }
.leaf-4 { top: 70%; left: 8%; font-size: 2rem; }

/* Water drops */
.water-drops { position: fixed; inset: 0; pointer-events: none; z-index: -3; }
.drop { position: absolute; font-size: 1.8rem; opacity: 0.6; }
.drop-1 { top: 12%; right: 18%; font-size: 1.4rem; }
.drop-2 { top: 35%; right: 4%; font-size: 2rem; }
.drop-3 { bottom: 40%; left: 12%; font-size: 1.6rem; }
.drop-4 { top: 55%; left: 4%; font-size: 1.2rem; }
.drop-5 { bottom: 20%; right: 25%; font-size: 1.5rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 950px;
    z-index: 1000;
    padding: 6px 10px;
    background: linear-gradient(180deg,
        rgba(170, 235, 195, 0.9) 0%,
        rgba(140, 220, 175, 0.85) 100%);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 100, 70, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    animation: logo-spin 8s linear infinite;
    box-shadow: 0 3px 12px rgba(0, 100, 70, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

@keyframes logo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-text { color: var(--text-dark); }
.accent { color: var(--aero-green-dark); }

.nav-links { display: flex; gap: 4px; }

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 25px;
    transition: background 0.2s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(180deg, #9ccc65 0%, #7cb342 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 179, 66, 0.5);
}

.btn-secondary {
    background: linear-gradient(180deg,
        rgba(180, 240, 210, 0.95) 0%,
        rgba(150, 225, 190, 0.9) 100%);
    color: var(--text-dark);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 100, 70, 0.15);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 100, 70, 0.25);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 130px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content { flex: 1; max-width: 560px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(180deg, rgba(180, 240, 210, 0.95) 0%, rgba(150, 225, 190, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    font-size: 0.88rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-badge::before { content: '🎮 '; }

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.8rem);
    color: white;
    text-shadow: 0 3px 12px rgba(0, 70, 50, 0.4);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #c5e1a5 0%, #aed581 50%, #8bc34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.12rem;
    margin-top: 16px;
    text-shadow: 0 1px 4px rgba(0, 50, 35, 0.3);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-visual { flex: 1; display: flex; justify-content: center; }

/* ===== SERVER PREVIEW ===== */
.server-preview {
    background: linear-gradient(180deg,
        rgba(175, 240, 205, 0.9) 0%,
        rgba(145, 225, 185, 0.8) 100%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 28px;
    min-width: 270px;
    box-shadow: 0 8px 30px rgba(0, 100, 70, 0.2);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, #b9f6ca 0%, #69f0ae 60%, #00c853 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.5);
}

.preview-stats { display: flex; gap: 32px; }
.stat-value { font-size: 2.4rem; font-weight: 700; color: var(--aero-green-dark); }
.stat-label { color: var(--text-mid); font-size: 0.85rem; margin-top: 3px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 45px; }
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    text-shadow: 0 2px 8px rgba(0, 50, 35, 0.4);
}
.section-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-size: 1.02rem;
}

/* ===== SERVER CARDS ===== */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 22px;
}

.server-card {
    background: linear-gradient(180deg,
        rgba(175, 240, 205, 0.9) 0%,
        rgba(145, 225, 185, 0.8) 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 5px 22px rgba(0, 100, 70, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 100, 70, 0.25);
}

.server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.server-icon { font-size: 1.9rem; }

.server-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 18px;
    background: rgba(105, 240, 174, 0.3);
    color: #2e7d32;
}

.pulse {
    width: 7px;
    height: 7px;
    background: #4caf50;
    border-radius: 50%;
}

.server-name { font-size: 1.15rem; margin-bottom: 5px; color: var(--text-dark); }
.server-map { color: var(--text-mid); font-size: 0.85rem; margin-bottom: 16px; }
.server-map span { font-weight: 600; color: var(--text-dark); }

.server-info { display: flex; gap: 24px; margin-bottom: 16px; }
.info-label { color: var(--text-mid); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.4px; }
.info-value { font-weight: 600; color: var(--text-dark); margin-top: 2px; }

.server-ip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(124, 179, 66, 0.15);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid rgba(124, 179, 66, 0.3);
}

.server-ip code {
    font-family: 'Consolas', monospace;
    color: var(--aero-green-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-mid);
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: background 0.2s;
}

.copy-btn:hover { background: rgba(124, 179, 66, 0.2); }

.server-connect {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: linear-gradient(180deg, #9ccc65 0%, #7cb342 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 14px rgba(124, 179, 66, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.server-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.45);
}

/* ===== COMMUNITY ===== */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.community-card {
    background: linear-gradient(180deg,
        rgba(175, 240, 205, 0.9) 0%,
        rgba(145, 225, 185, 0.8) 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 5px 22px rgba(0, 100, 70, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 100, 70, 0.25);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: var(--aero-green-dark);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 100, 70, 0.12);
}

.discord-card .card-icon { color: #5865f2; }

.community-card h3 { margin-bottom: 10px; color: var(--text-dark); }
.community-card p { color: var(--text-mid); margin-bottom: 20px; line-height: 1.55; }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--aero-green-dark);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.2s;
}

.card-link:hover { gap: 10px; }
.discord-card .card-link { color: #5865f2; }

/* ===== CONNECT ===== */
.connect-section { padding-bottom: 50px; }

.connect-box {
    background: linear-gradient(180deg,
        rgba(175, 240, 205, 0.92) 0%,
        rgba(145, 225, 185, 0.85) 100%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 100, 70, 0.2);
}

.connect-box h2 { color: var(--text-dark); margin-bottom: 10px; }
.connect-box > p { color: var(--text-mid); margin-bottom: 28px; }

.connect-ip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(124, 179, 66, 0.12);
    padding: 16px 24px;
    border-radius: 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(124, 179, 66, 0.25);
}

.connect-ip code {
    font-family: 'Consolas', monospace;
    font-size: 1.4rem;
    color: var(--aero-green-dark);
    font-weight: 700;
}

.copy-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(180deg, #9ccc65 0%, #7cb342 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(124, 179, 66, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.copy-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.45);
}

.connect-hint { color: var(--text-mid); font-size: 0.88rem; }
.connect-hint code {
    background: rgba(124, 179, 66, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    color: var(--aero-green-dark);
}

/* ===== FOOTER ===== */
.footer {
    padding: 35px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 80, 60, 0.12) 100%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    animation: logo-spin 8s linear infinite;
}

.footer-links { display: flex; gap: 28px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-copy { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(180deg, rgba(180, 240, 210, 0.98) 0%, rgba(150, 225, 190, 0.95) 100%);
    color: var(--text-dark);
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2000;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(0, 100, 70, 0.25);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 130px; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .nav-links { display: none; }
    .navbar { width: calc(100% - 24px); }
}

@media (max-width: 600px) {
    .section { padding: 55px 0; }
    .server-grid, .community-grid { grid-template-columns: 1fr; }
    .connect-box { padding: 35px 20px; }
    .connect-ip { flex-direction: column; gap: 12px; }
    .connect-ip code { font-size: 1.15rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .orb, .leaf { display: none; }
}
