:root {
    --primary: #4CAF50;
    --primary-glow: rgba(76, 175, 80, 0.6);
    --secondary: #8BC34A;
    --donate-color: #FFC107;
    --donate-glow: rgba(255, 193, 7, 0.6);
    --dark: #0a0a0a;
    --glass-bg: rgba(20, 20, 20, 0.75);
    --glass-interactive: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f0f0f0;
    --text-muted: #aaaaaa;
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('image/obkichobkteam.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 100%);
    backdrop-filter: blur(3px);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

header {
    position: sticky;
    top: 20px;
    z-index: 100;
    margin-bottom: 40px;
}

.navbar {
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

.navbar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    color: var(--primary);
    font-size: 28px;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.logo-text p {
    font-size: 11px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

nav {
    width: 100%;
}

nav ul {
    display: none;
    flex-direction: column;
    list-style: none;
    gap: 2px;
    width: 100%;
    padding: 10px 0 5px;
}

nav ul.active {
    display: flex;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: var(--transition);
    display: block;
    text-align: center;
}

nav li {
    width: 100%;
}

nav a:hover, nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

nav a.active {
    color: var(--primary);
}

nav a.donate-link {
    background: rgba(255, 193, 7, 0.15);
    color: var(--donate-color);
    border: 1px solid rgba(255, 193, 7, 0.3);
    margin: 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

nav a.donate-link:hover {
    background: var(--donate-color);
    color: #000;
    box-shadow: 0 0 15px var(--donate-glow);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.08);
}

.hero {
    text-align: center;
    padding: 80px 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.8s ease-out;
}

.hero h2 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.server-status-widget {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #555;
    margin-right: 10px;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: var(--transition);
}

.status-indicator.online {
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

.hero p {
    font-size: 20px;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.cta-button {
    background: var(--primary);
    color: #000;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 0 20px var(--primary-glow);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px var(--primary-glow);
    background: #fff;
}

.server-ip-wrapper {
    position: relative;
    margin-top: 20px;
}

.server-ip {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.server-ip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 0;
}

.server-ip:active {
    transform: scale(0.96);
}

.server-ip:active::before {
    opacity: 0.1;
}

.server-ip:hover {
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.3);
    background: rgba(0, 0, 0, 0.8);
}

.ip-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ip-text {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.copy-hint {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-left: auto;
    opacity: 0.7;
}

.copied-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--primary);
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.3);
    padding: 5px;
    border-radius: 15px;
    display: inline-flex;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.tab-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    background: rgba(255,255,255,0.1);
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.tab-content {
    display: none;
    animation: slideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tab-content.active {
    display: block;
}

.content-block h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-block p {
    margin-bottom: 15px;
    color: #ccc;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.feature-list li {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--secondary);
    font-size: 14px;
    color: #ddd;
}

ol.steps-list {
    counter-reset: step;
    list-style: none;
    margin-top: 20px;
}

ol.steps-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
}

ol.steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
}

.social-grid {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-card {
    background: rgba(255,255,255,0.05);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-card:hover {
    border-color: var(--primary);
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary);
}

.gallery-wrapper {
    position: relative;
    margin-top: 20px;
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 auto;
    width: 350px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    position: relative;
    scroll-snap-align: center;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.gallery-item video, .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.7);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    opacity: 0.7;
}

.scroll-btn:hover {
    background: var(--primary);
    color: #000;
    opacity: 1;
    box-shadow: 0 0 15px var(--primary-glow);
}

.scroll-left { left: -20px; }
.scroll-right { right: -20px; }

@media (max-width: 800px) {
    .scroll-btn { display: none; }
    .gallery-item { width: 280px; }
}


.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--glass-interactive);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-glow);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}


footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: #666;
}

footer .minecraft-heart {
    color: #ff5555;
    animation: beat 1.5s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@media (max-width: 768px) {
    .hero h2 { font-size: 36px; }
    .server-ip { padding: 15px 20px; width: 100%; flex-direction: column; text-align: center; }
    .ip-content { flex-direction: column; gap: 5px; }
    .ip-text { font-size: 18px; word-break: break-all; }
    .copy-hint { display: none; }
    .tabs-header { width: 100%; transform: none; left: 0; display: flex; flex-direction: column; background: transparent; }
    .tab-btn { width: 100%; background: rgba(0,0,0,0.3); }
    .tab-btn.active { background: var(--primary); color: #000; }
    .feature-list { grid-template-columns: 1fr; }
}