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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f7fc;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
    background: white;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section:nth-child(even) {
    background: #f8faff;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 0;
    margin-bottom: 30px;
}

.hero h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero .badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 8px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    margin: 20px 0;
    animation: pulse 2s infinite;
}

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

.server-info {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 10px;
}

.server-info p {
    margin: 5px 0;
}

/* ===== GIF Container ===== */
.gif-container {
    text-align: center;
    padding: 20px;
    background: #f0f4ff;
    border-radius: 12px;
}

.gif-container .gif {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.caption {
    margin-top: 15px;
    color: #666;
    font-style: italic;
}

/* ===== Image Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

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

.gallery-item p {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color: #555;
}

/* ===== Video Container ===== */
.video-container {
    text-align: center;
    background: #0a0a0a;
    padding: 20px;
    border-radius: 12px;
}

.video-container video {
    max-width: 100%;
    border-radius: 8px;
}

/* ===== About / Feature List ===== */
.about {
    text-align: center;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.feature-list li {
    background: #eef2ff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    color: #2c3e50;
}

/* ===== Counter ===== */
.counter {
    background: #f0f4ff;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.counter p {
    font-size: 1.2rem;
    font-weight: bold;
}

.counter button {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    margin: 5px;
    transition: background 0.3s, transform 0.2s;
}

.counter button:hover {
    background: #5a67d8;
    transform: scale(1.05);
}

.counter .reset-btn {
    background: #e74c3c;
}

.counter .reset-btn:hover {
    background: #c0392b;
}

/* ===== Footer ===== */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 30px;
}

footer p {
    margin: 5px 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}
