/* ===== FF Gaming Hub - Complete Theme ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Particles */
#particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    bottom: 0;
    width: 3px;
    height: 3px;
    background: #ff6600;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff6600, 0 0 15px #ff3300;
    animation: float-up linear forwards;
}

@keyframes float-up {
    to {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 0 auto;
    padding: 15px;
}

/* ===== HEADER ===== */
.premium-header {
    background: linear-gradient(180deg, rgba(255, 102, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 2px solid #ff6600;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

/* Logo Row */
.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.star {
    font-size: 1.2rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.main-title {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    font-weight: 900;
    color: #fff;
    text-shadow:
        0 0 10px #ff6600,
        0 0 20px #ff6600,
        0 0 30px #ff3300;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Subtitle */
.subtitle {
    font-size: 0.75rem;
    color: #ffaa00;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #ff6600;
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 102, 0, 0.4);
    margin-bottom: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 900;
    color: #ffaa00;
    text-shadow: 0 0 10px #ff6600;
}

.stat-name {
    font-size: 0.55rem;
    color: #888;
    letter-spacing: 1px;
}

.stat-sep {
    color: #ff6600;
    font-size: 0.8rem;
}

/* Select Arrow */
.select-arrow {
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.service-card {
    display: block;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ff6600;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.7);
    border-color: #ffaa00;
}

.service-card:active {
    transform: scale(0.97);
}

.card-image {
    width: 100%;
    height: 100%;
    background-image: url('services.jpg');
    background-size: 200% 200%;
    background-repeat: no-repeat;
    transition: transform 0.3s;
}

.service-card:hover .card-image {
    transform: scale(1.08);
}

/* ===== TELEGRAM SECTION ===== */
.telegram-section {
    background: linear-gradient(135deg, #0088cc 0%, #005580 50%, #003d5c 100%);
    border: 2px solid #00aaff;
    border-radius: 15px;
    padding: 25px 20px;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.4);
}

.telegram-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.5) 0%, transparent 70%);
    pointer-events: none;
    animation: tg-pulse 2s infinite;
}

@keyframes tg-pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Telegram Icon */
.telegram-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.telegram-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

/* Telegram Text */
.telegram-text {
    margin-bottom: 20px;
}

.tg-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.tg-subtitle {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

/* Join Button */
.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    color: #fff;
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0, 136, 204, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: glow-btn 2s infinite;
}

@keyframes glow-btn {

    0%,
    100% {
        box-shadow: 0 5px 25px rgba(0, 136, 204, 0.5);
    }

    50% {
        box-shadow: 0 5px 40px rgba(0, 212, 255, 0.8);
    }
}

.telegram-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00e5ff 0%, #00aaff 100%);
}

.telegram-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-text {
    font-family: 'Russo One', sans-serif;
}

.btn-arrow {
    font-size: 1.2rem;
    animation: arrow-move 1s infinite;
}

@keyframes arrow-move {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* Member Count */
.member-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 1px;
    padding: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
    .main-title {
        font-size: 1.1rem;
    }

    .stats-row {
        gap: 8px;
        padding: 8px 12px;
    }

    .stat-value {
        font-size: 0.85rem;
    }

    .star {
        font-size: 1rem;
    }

    .telegram-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .telegram-icon {
        width: 50px;
        height: 50px;
    }

    .telegram-icon svg {
        width: 28px;
        height: 28px;
    }
}