@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    --bg-color: #0b0b0b;
    --card-bg: #121212;
    --primary-color: #ff4d00;
    --primary-gradient: linear-gradient(135deg, #ff4d00 0%, #ff003c 100%);
    --secondary-color: #00f2ff;
    --secondary-gradient: linear-gradient(135deg, #00f2ff 0%, #0066ff 100%);
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --error-color: #ff3333;
    --success-color: #00ff88;
    --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-color);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 100px;
}

.no-padding { padding-top: 0 !important; }

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

/* HERO-HEADER WRAPPER */
.hero-header-wrapper {
    position: relative; width: 100%; min-height: 100vh; margin-top: -100px;
    background-image: url('../../img/bg.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    overflow: hidden;
}
.hero-header-wrapper::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(11, 11, 11, 0.3) 0%, rgba(11, 11, 11, 0.9) 100%);
    z-index: 1;
}
#particles-js { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; }
.hero-header-wrapper .container { position: relative; z-index: 3; }

/* NAVBAR */
.main-nav { position: absolute; top: 0; width: 100%; z-index: 1000; padding: 25px 0; transition: 0.4s; }
.main-nav.scrolled { position: fixed; padding: 15px 0; background: rgba(11, 11, 11, 0.85); backdrop-filter: blur(20px); border-bottom: 2px solid var(--primary-color); }
.main-nav a, .main-nav span { text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* HERO */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 140px 0; }
.hero .badge-premium { margin-bottom: 35px; letter-spacing: 2px; }
.hero h1 { font-size: 6rem; font-weight: 800; line-height: 1.1; margin-bottom: 45px; letter-spacing: -3px; text-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.hero p { font-size: 1.4rem; color: var(--text-muted); max-width: 850px; margin-bottom: 65px; line-height: 1.7; }

/* HERO TOP PANELS */
.hero-top-panels { 
    display: flex; gap: 30px; 
    margin-top: 50px; 
    margin-bottom: 40px; 
}
@media (max-width: 992px) { .hero-top-panels { flex-direction: column; } }

.top-panel {
    flex: 1; backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 30px;
    padding: 45px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; overflow: hidden; transition: 0.4s;
    background-size: cover; background-position: center;
}
.top-panel:hover { transform: translateY(-5px); border-color: rgba(255, 77, 0, 0.2); }

/* PANEL FONDOS */
.panel-bg-announce { background-image: url('../../img/anuncement.png'); }
.panel-bg-discord { background-image: url('../../img/discordbg.jpg'); }

.top-panel::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.6) 0%, rgba(11, 11, 11, 0.95) 100%);
    z-index: 0;
}

.timer-title { font-size: 1rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; position: relative; z-index: 2; }
.timer-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 30px; position: relative; z-index: 2; }

.countdown-wrapper { display: flex; gap: 20px; margin-bottom: 35px; position: relative; z-index: 2; }
.countdown-box { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
.countdown-box .number {
    font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1;
    background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 77, 0, 0.3));
}
.countdown-box .label { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-top: 5px; }

.discord-badge {
    background: rgba(0, 242, 255, 0.1); color: var(--secondary-color);
    padding: 6px 16px; border-radius: 100px; font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px; border: 1px solid rgba(0, 242, 255, 0.2);
    margin-bottom: 25px; position: relative; z-index: 2;
}
.discord-title { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 15px; position: relative; z-index: 2; text-align: center; }
.discord-title .brand { color: var(--secondary-color); }
.discord-desc { font-size: 0.9rem; color: var(--text-muted); text-align: center; margin-bottom: 30px; max-width: 500px; position: relative; z-index: 2; }

.discord-stats { display: flex; gap: 40px; margin-bottom: 30px; position: relative; z-index: 2; }
.discord-stats .stat-box { display: flex; flex-direction: column; align-items: center; }
.discord-stats .count { font-size: 1.8rem; font-weight: 800; color: #fff; }
.discord-stats .label { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.discord-stats .label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success-color); box-shadow: 0 0 10px var(--success-color); }

.discord-footer { width: 100%; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.btn-discord {
    background: #5865F2; color: #fff; padding: 16px 36px; border-radius: 14px;
    font-weight: 700; text-transform: uppercase; text-decoration: none;
    display: flex; align-items: center; gap: 12px; transition: 0.3s;
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2);
}
.btn-discord:hover { transform: scale(1.05); filter: brightness(1.1); box-shadow: 0 15px 30px rgba(88, 101, 242, 0.3); }

/* AVATAR GROUP */
.avatar-group { display: flex; align-items: center; margin-bottom: 25px; position: relative; z-index: 2; }
.avatar-item { position: relative; margin-left: -12px; transition: 0.3s; cursor: pointer; }
.avatar-item:first-child { margin-left: 0; }
.avatar-item:hover { transform: translateY(-5px); z-index: 20 !important; }
.avatar-img { width: 45px; height: 45px; border-radius: 50%; border: 3px solid #121212; object-fit: cover; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.avatar-name { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 0.65rem; font-weight: 700; color: #fff; opacity: 0; transition: 0.3s; white-space: nowrap; pointer-events: none; text-shadow: 0 1px 4px #000; }
.avatar-item:hover .avatar-name { opacity: 1; bottom: -12px; }

/* SECTIONS */
.section-title { font-size: 2.8rem; font-weight: 800; text-align: center; margin-bottom: 60px; padding-top: 100px; }
.section-title span { background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* GRIDS */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* CARDS PREMIUM */
.card, .feature-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 35px; transition: 0.4s; position: relative; overflow: hidden; }
.card:hover, .feature-card:hover { transform: translateY(-10px); border-color: rgba(255, 77, 0, 0.3); box-shadow: 0 10px 40px rgba(0,0,0,0.4); }

/* READ MORE BUTTON (NEW PREMIUM STYLE) */
.btn-read-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff; text-decoration: none; font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
    position: relative; padding-bottom: 5px; border-bottom: 2px solid rgba(255, 77, 0, 0.3);
}
.btn-read-more::after {
    content: '→'; font-size: 1.1rem; transition: 0.3s;
    transform: translateX(0);
}
.btn-read-more:hover { color: var(--primary-color); border-color: var(--primary-color); }
.btn-read-more:hover::after { transform: translateX(5px); }

/* SLIDER FEATURES */
.slider-container { position: relative; margin: 60px 0; padding: 0 40px; }
.slider-overflow { overflow: hidden; width: 100%; }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.slider-item { flex: 0 0 33.333%; padding: 0 15px; }
@media (max-width: 992px) { .slider-item { flex: 0 0 50%; } }
@media (max-width: 768px) { .slider-item { flex: 0 0 100%; } }

.feature-card-premium {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: 0.4s;
    text-align: left;
}
.feature-card-premium:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 77, 0, 0.3);
    transform: translateY(-5px);
}
.feature-icon-box {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    color: #fff;
}
.feature-card-premium h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; color: #fff; }
.feature-card-premium p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.slider-btn:hover:not(:disabled) { background: var(--primary-color); border-color: var(--primary-color); }
.slider-btn:disabled { opacity: 0.2; cursor: not-allowed; }
.slider-btn.prev { left: -10px; }
.slider-btn.next { right: -10px; }

.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; cursor: pointer; transition: 0.3s; }
.slider-dot.active { width: 30px; border-radius: 10px; background: var(--primary-color); }

/* BUTTONS */
.btn { background: var(--primary-gradient); color: white; padding: 16px 36px; border-radius: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; text-decoration: none; border: none; font-size: 0.9rem; display: inline-block; }
.btn:hover { transform: scale(1.05); filter: brightness(1.2); }
.btn-outline { background: transparent; color: white; border: 2px solid var(--border-color); padding: 14px 34px; border-radius: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; text-decoration: none; font-size: 0.9rem; display: inline-block; }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 40px; justify-content: center; margin-top: 50px; }
.pricing-card { position: relative; border-radius: 25px; padding: 50px 40px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); transition: 0.4s; text-align: center; min-height: 600px; display: flex; flex-direction: column; }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(11, 11, 11, 0.3) 0%, rgba(11, 11, 11, 0.9) 100%); z-index: 1; }
.pricing-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.5; transition: 0.5s; }
.pricing-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; }

.pricing-tag {
    position: relative; display: inline-block; padding: 6px 18px; border-radius: 100px;
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; color: white; z-index: 3;
    backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); margin-bottom: 20px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tag-standard { background: rgba(0, 242, 255, 0.15); border-color: rgba(0, 242, 255, 0.4); color: var(--secondary-color); }
.tag-special { background: rgba(255, 77, 0, 0.2); border-color: rgba(255, 77, 0, 0.5); color: var(--primary-color); }
.pricing-card:hover .pricing-tag { transform: scale(1.1) translateY(-3px); border-color: white; box-shadow: 0 0 20px rgba(255, 77, 0, 0.3); }

.pricing-price { font-size: 3.8rem; font-weight: 900; line-height: 1; color: #fff; margin-bottom: 5px; }
.pricing-period { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; }
.pricing-features { list-style: none; margin-bottom: 45px; flex-grow: 1; width: 100%; }
.pricing-features li { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; font-size: 0.95rem; color: #eee; }
.pricing-features li svg { color: var(--success-color); flex-shrink: 0; }
.pricing-btn { width: 100%; padding: 18px; border-radius: 15px; text-align: center; text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; }

/* FORMS & TABLES */
.form-group { margin-bottom: 25px; text-align: left; }
label { display: block; margin-bottom: 10px; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
input[type="text"], input[type="email"], input[type="password"], textarea, input[type="datetime-local"] { width: 100%; background: #000; border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; color: white; font-family: inherit; font-size: 1rem; transition: 0.3s; }
input:focus, textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 15px rgba(255, 77, 0, 0.1); }
.table-wrapper { width: 100%; overflow-x: auto; background: rgba(255,255,255,0.02); border-radius: 15px; border: 1px solid var(--border-color); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 20px; background: rgba(0,0,0,0.3); font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; letter-spacing: 1px; }
td { padding: 20px; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; }

/* BADGES & ALERTS */
.badge { padding: 6px 12px; border-radius: 8px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; }
.badge-active { background: rgba(0, 255, 136, 0.1); color: var(--success-color); border: 1px solid rgba(0,255,136,0.1); }
.badge-expired { background: rgba(255, 51, 51, 0.1); color: var(--error-color); border: 1px solid rgba(255,51,51,0.15); }
.action-btn { padding: 10px 18px; border-radius: 10px; border: none; cursor: pointer; font-weight: 700; font-size: 0.75rem; transition: 0.2s; text-transform: uppercase; }
.btn-edit { background: rgba(0, 242, 255, 0.1); color: var(--secondary-color); border: 1px solid rgba(0,242,255,0.15); }
.btn-delete { background: rgba(255, 51, 51, 0.1); color: var(--error-color); border: 1px solid rgba(255,51,51,0.15); }
.alert { padding: 20px; border-radius: 15px; margin-bottom: 30px; border: 1px solid transparent; font-weight: 600; }
.alert-success { background: rgba(0, 255, 136, 0.1); color: var(--success-color); }
.alert-error { background: rgba(255, 51, 51, 0.1); color: var(--error-color); }

/* UTILS */
.badge-premium { background: rgba(0, 242, 255, 0.1); color: var(--secondary-color); padding: 5px 12px; border-radius: 8px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; border: 1px solid rgba(0, 242, 255, 0.2); display: inline-block; }
.stat-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 25px; }
.stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 5px; font-weight: 700; }
.stat-value { font-size: 2rem; font-weight: 800; color: #fff; }

/* PANEL Y DASHBOARD UTILS */
.page-container { margin-top: 150px; padding-bottom: 50px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.table-actions-flex { display: flex; gap: 5px; align-items: center; margin-bottom: 8px; }

/* RESPONSIVE GLOBAL SETTINGS */
@media (max-width: 992px) {
    /* Hero Adjustments */
    .hero { padding: 100px 0; }
    .hero h1 { font-size: 4rem; letter-spacing: -1.5px; margin-bottom: 30px; }
    .hero p { font-size: 1.1rem; margin-bottom: 40px; }
    
    /* Top Panels */
    .discord-stats { flex-direction: column; gap: 20px; }
    
    /* Pricing Grid */
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .pricing-card { min-height: auto; padding: 40px 20px; }
    
    /* Sections */
    .section-title { font-size: 2.2rem; padding-top: 60px; margin-bottom: 40px; }
}

@media (max-width: 768px) {
    /* Body & Container Settings */
    body { padding-top: 70px; }
    .container { padding: 0 15px; }

    /* Hero Further Reductions */
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.5rem; letter-spacing: -1px; }
    .hero p { font-size: 0.95rem; }
    .btn, .btn-outline { padding: 12px 24px; font-size: 0.8rem; width: 100%; margin-bottom: 10px; text-align: center; }
    
    /* Top Panels & Countdown */
    .hero-top-panels { margin-top: 30px; gap: 20px; }
    .top-panel { padding: 30px 20px; }
    .countdown-wrapper { gap: 10px; }
    .countdown-box .number { font-size: 2rem; }
    .discord-title { font-size: 1.2rem; }
    
    /* Tables (admin_panel, login info, etc) */
    .table-wrapper { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    th, td { padding: 12px 10px; font-size: 0.85rem; }
    
    /* Slider & Features */
    .slider-container { padding: 0 10px; margin: 40px 0; }
    .feature-card-premium { padding: 25px 20px; }
    .feature-card-premium h3 { font-size: 1.2rem; }
    
    /* Forms & Auth */
    .form-group { margin-bottom: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    input[type="text"], input[type="email"], input[type="password"], textarea, input[type="datetime-local"] { padding: 12px; font-size: 0.9rem; }
    
    /* Panels & Dashboards */
    .page-container { margin-top: 110px; }
    .panel-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .table-actions-flex { flex-direction: column; align-items: flex-start !important; gap: 8px; width: 100%; }
    
    /* Utilities */
    .stat-value { font-size: 1.6rem; }
}
