@import url('https://fonts.googleapis.com/css2?family=Carattere&family=League+Gothic&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
    --bg-dark: #0a0a0d;
    --bg-dark-rgb: 10, 10, 13;
    --bg-card: rgba(18, 18, 24, 0.7);
    --gold: #f39c12;
    --gold-glow: rgba(243, 156, 18, 0.35);
    --blue-magic: #00d2ff;
    --blue-glow: rgba(0, 210, 255, 0.35);
    --crimson: #ff3838;
    --crimson-glow: rgba(255, 56, 56, 0.35);
    --text-light: #f5f6fa;
    --text-muted: #abb2bf;
    --border-color: rgba(255, 255, 255, 0.07);
    --glass-blur: 14px;
    --transition-speed: 0.3s;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(243, 156, 18, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(10, 10, 13, 0.88), rgba(10, 10, 13, 0.95)), 
        url('../images/a5.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 1px solid rgba(255, 255, 255, 0.03);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold) 0%, #d35400 100%);
    border: 2px solid var(--bg-dark);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f1c40f 0%, var(--gold) 100%);
    box-shadow: 0 0 12px var(--gold-glow);
}

/* --- TYPOGRAPHY UTILITIES --- */
h1, h2, h3, h4, .font-epic {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1.5px;
    font-weight: 800;
}

/* --- LAYOUT CONTAINERS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 60px 0 40px 0;
    position: relative;
}

.hero-logo-container {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    padding: 10px 0 25px 0;
    margin-bottom: 5px;
}

.logo-top-text {
    font-family: 'Carattere', cursive;
    font-size: 4.5rem;
    color: #ffffff;
    position: absolute;
    top: 35px; /* Puesto más abajo para solapar elegantemente */
    right: -15px;
    z-index: 3;
    transform: rotate(-8deg);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.85), 0 0 25px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    animation: floatCursive 3.5s ease-in-out infinite alternate;
}

.logo-main-text {
    font-family: 'League Gothic', sans-serif;
    font-size: 8.5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff3838 20%, #c0392b 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 56, 56, 0.45));
    letter-spacing: -2px;
    margin: 0;
    padding: 0;
    line-height: 0.8;
    z-index: 2;
    position: relative;
    animation: floatMain 4s steps(6) infinite alternate; /* Bajos frames / Teletransportación */
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin: 10px auto 0 auto;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 2;
    position: relative;
}

.divider-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 20px auto;
}

/* --- SERVERS SECTION --- */
.servers-section {
    padding: 30px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
}

.section-title span {
    color: var(--gold);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* --- GAME CARD (GLASSMORPHISM) --- */
.game-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

/* Neon Glows per Server Type */
.game-card.mu-slow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(243, 156, 18, 0.05);
}
.game-card.mu-slow:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 35px var(--gold-glow), inset 0 0 15px rgba(243, 156, 18, 0.1);
}

.game-card.mu-fast {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 210, 255, 0.05);
}
.game-card.mu-fast:hover {
    border-color: var(--blue-magic);
    box-shadow: 0 15px 35px var(--blue-glow), inset 0 0 15px rgba(0, 210, 255, 0.1);
}

.game-card.cs-server {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 56, 56, 0.05);
}
.game-card.cs-server:hover {
    border-color: var(--crimson);
    box-shadow: 0 15px 35px var(--crimson-glow), inset 0 0 15px rgba(255, 56, 56, 0.1);
}

/* Image Header of Card */
.card-header-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.card-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.game-card:hover .card-header-img img {
    transform: scale(1.1);
}

.card-header-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(18, 18, 24, 1), transparent);
}

/* Badges */
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mu-slow .card-badge {
    color: var(--gold);
    border-color: var(--gold);
}

.mu-fast .card-badge {
    color: var(--blue-magic);
    border-color: var(--blue-magic);
}

.cs-server .card-badge {
    color: var(--crimson);
    border-color: var(--crimson);
}

/* Status Indicator */
.card-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
}

.status-dot.pulsing {
    animation: statusPulse 1.5s infinite alternate;
}

/* Card Content */
.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.mu-slow .card-title {
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}

.mu-fast .card-title {
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.cs-server .card-title {
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(255, 56, 56, 0.2);
}

/* Server Stats List */
.stats-list {
    list-style: none;
    margin-bottom: 25px;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stats-list li:last-child {
    border-bottom: none;
}

.stats-label {
    font-weight: 500;
}

.stats-value {
    color: var(--text-light);
    font-weight: 700;
}

.stats-value.highlight-gold {
    color: var(--gold);
}

.stats-value.highlight-blue {
    color: var(--blue-magic);
}

.stats-value.highlight-crimson {
    color: var(--crimson);
}

/* Players Count Progress */
.players-online-container {
    margin-bottom: 25px;
}

.players-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%; /* Dynamic */
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.mu-slow .progress-bar-fill {
    background: linear-gradient(90deg, var(--gold), #f39c12);
    box-shadow: 0 0 10px var(--gold-glow);
}

.mu-fast .progress-bar-fill {
    background: linear-gradient(90deg, var(--blue-magic), #00a8ff);
    box-shadow: 0 0 10px var(--blue-glow);
}

.cs-server .progress-bar-fill {
    background: linear-gradient(90deg, var(--crimson), #c0392b);
    box-shadow: 0 0 10px var(--crimson-glow);
}

/* Action Buttons */
.card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: auto;
}

.card-actions.multi-buttons {
    grid-template-columns: repeat(2, 1fr);
}

.card-actions.three-buttons {
    grid-template-columns: 1fr;
}

.btn-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-row .btn {
    flex: 1;
}

.btn {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Button variants */
.btn-primary {
    color: #121212;
}

.mu-slow .btn-primary {
    background: var(--gold);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
    border: none;
}
.mu-slow .btn-primary:hover {
    background: #f1c40f;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    transform: translateY(-2px);
}

.mu-fast .btn-primary {
    background: var(--blue-magic);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2);
    border: none;
}
.mu-fast .btn-primary:hover {
    background: #00e5ff;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}

.cs-server .btn-primary {
    background: var(--crimson);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 56, 56, 0.2);
    border: none;
}
.cs-server .btn-primary:hover {
    background: #ff5252;
    box-shadow: 0 6px 20px rgba(255, 56, 56, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Copy IP specific button */
.btn-copy-ip {
    position: relative;
    overflow: hidden;
}

.ip-text-display {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 12px;
    word-break: break-all;
}

/* --- TIKTOK SECTION --- */
.tiktok-section {
    padding: 60px 0;
}

.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tiktok-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 480px;
    cursor: pointer;
    position: relative;
}

.tiktok-card:hover {
    border-color: rgba(254, 44, 85, 0.5); /* TikTok pink */
    box-shadow: 0 15px 35px rgba(254, 44, 85, 0.15);
    transform: translateY(-5px);
}

.tiktok-video-container {
    height: 350px;
    position: relative;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder Thumbnail */
.tiktok-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.tiktok-card:hover .tiktok-thumb {
    transform: scale(1.05);
    opacity: 0.5;
}

/* TikTok Overlay Icons */
.tiktok-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 40%, rgba(0,0,0,0.7) 100%);
}

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

.tiktok-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fe2c55;
    background: #222;
}

.author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.tiktok-logo {
    width: 24px;
    height: 24px;
    fill: #fff;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.tiktok-play-btn {
    align-self: center;
    width: 60px;
    height: 60px;
    background: rgba(254, 44, 85, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(254, 44, 85, 0.4);
    transition: all 0.2s ease;
    transform: scale(1);
}

.tiktok-card:hover .tiktok-play-btn {
    transform: scale(1.15);
    background: #fe2c55;
    box-shadow: 0 0 25px rgba(254, 44, 85, 0.7);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid white;
    margin-left: 4px;
}

.tiktok-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-icon {
    font-size: 1rem;
}

/* TikTok Card Body */
.tiktok-body {
    padding: 20px;
    background: rgba(18, 18, 24, 0.8);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tiktok-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.tiktok-hashtags {
    font-size: 0.8rem;
    color: #fe2c55;
    font-weight: 600;
}

/* --- TIKTOK MODAL --- */
.tiktok-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
}

.tiktok-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #0f0f13;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    height: 80%;
    max-height: 700px;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tiktok-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    font-weight: 700;
    transition: background 0.2s;
}

.close-modal:hover {
    background: #fe2c55;
}

.modal-iframe-container {
    width: 100%;
    height: 100%;
    background: #000;
}

.modal-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- FOOTER & COMMUNITY --- */
.community-section {
    padding: 40px 0 60px 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.social-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-btn.discord:hover {
    background: #5865F2;
    color: white;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    border-color: #5865F2;
    transform: translateY(-5px);
}

.social-btn.whatsapp:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    border-color: #25D366;
    transform: translateY(-5px);
}

.social-btn.youtube:hover {
    background: #FF0000;
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    border-color: #FF0000;
    transform: translateY(-5px);
}

.social-btn.kick:hover {
    background: #53fc18;
    color: #000000;
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.5);
    border-color: #53fc18;
    transform: translateY(-5px);
}

.social-btn.tiktok-main:hover {
    background: #fe2c55;
    color: white;
    box-shadow: 0 0 20px rgba(254, 44, 85, 0.4);
    border-color: #fe2c55;
    transform: translateY(-5px);
}

.footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer span {
    color: var(--gold);
    font-weight: 600;
}

/* --- TOAST NOTIFICATION --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.toast {
    background: rgba(18, 18, 24, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--crimson);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--crimson-glow);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-success-icon {
    width: 20px;
    height: 20px;
    fill: var(--crimson);
}

/* --- ANIMATIONS --- */
@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes statusPulse {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 5px #2ecc71;
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 15px #2ecc71, 0 0 25px #2ecc71;
    }
}

/* Partículas flotantes */
.ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.3);
    pointer-events: none;
    animation: floatUp 8s infinite linear;
}

@keyframes floatUp {
    0% {
        transform: translateY(105vh) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-5vh) translateX(100px) scale(0.2);
        opacity: 0;
    }
}

@keyframes floatMain {
    0% {
        transform: translateY(0);
        filter: drop-shadow(0 0 20px rgba(255, 56, 56, 0.35));
    }
    100% {
        transform: translateY(-4px);
        filter: drop-shadow(0 0 35px rgba(255, 56, 56, 0.6));
    }
}

@keyframes floatCursive {
    0% {
        transform: rotate(-8deg) translateY(0);
    }
    100% {
        transform: rotate(-8deg) translateY(-8px) translateX(2px);
    }
}

/* --- KICK LIVE STREAM WIDGET --- */
.kick-live-section {
    padding: 20px 0;
    margin-bottom: 25px;
}

.kick-live-card {
    background: rgba(83, 252, 24, 0.05); /* Fondo verde Kick muy sutil */
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(83, 252, 24, 0.15);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(83, 252, 24, 0.05);
    transition: all var(--transition-speed);
}

.kick-live-card:hover {
    border-color: #53fc18;
    box-shadow: 0 15px 35px rgba(83, 252, 24, 0.2), inset 0 0 15px rgba(83, 252, 24, 0.08);
}

.kick-live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.kick-live-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
}

.kick-live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #53fc18;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #53fc18;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #53fc18;
    box-shadow: 0 0 10px #53fc18;
    animation: statusPulse 1.2s infinite alternate;
}

.kick-live-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 25px;
    align-items: center;
}

.kick-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.kick-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.kick-live-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kick-live-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.btn-kick-live {
    background: #53fc18;
    color: #000000;
    border: none;
    box-shadow: 0 4px 15px rgba(83, 252, 24, 0.2);
}

.btn-kick-live:hover {
    background: #73ff40;
    box-shadow: 0 6px 20px rgba(83, 252, 24, 0.4);
    transform: translateY(-2px);
    color: #000;
}

.btn-kick-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .logo-main-text {
        font-size: 5.5rem;
        letter-spacing: -1px;
    }
    
    .logo-top-text {
        font-size: 3rem;
        top: 18px; /* Ajustado en móvil */
        right: -8px;
    }
    
    .kick-live-body {
        grid-template-columns: 1fr;
    }
    
    .kick-live-header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto 40px auto;
    }
    
    .tiktok-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .toast-container {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .toast {
        justify-content: center;
    }
}

/* Pinned Badge for TikTok Videos */
.pinned-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fe2c55;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(254, 44, 85, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}