:root {
    --bg-color: #0d0d0f;
    --text-color: #f0f0f5;
    --accent: #ff0055;
    --accent-hover: #ff3377;
    --card-bg: rgba(25, 25, 30, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(255, 0, 85, 0.6);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header */
.header {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(13, 13, 15, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
    text-shadow: var(--glow);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(255, 0, 85, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); }
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
    border-radius: 20px;
}
.glass {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle {
    font-size: 1.5rem;
    color: #bbb;
    margin-bottom: 10px;
}
.hero-text {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.counter-box {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    background: rgba(255, 0, 85, 0.1);
    color: var(--accent);
    font-weight: 600;
    font-size: 1.2rem;
    border: 1px solid var(--accent);
    margin-bottom: 40px;
}
.glow-effect {
    box-shadow: var(--glow);
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1.1rem;
}
.btn-primary {
    background: linear-gradient(45deg, var(--accent), #ff0033);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 0, 85, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(45deg, var(--accent-hover), #ff1a47);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 0, 85, 0.6);
}

/* Top Packs */
.top-packs {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #ccc;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 600;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}

.packs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .packs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .packs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pack-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: rgba(255,0,85,0.3);
}

.pack-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent);
}

.pack-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.pack-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.pack-stats {
    display: flex;
    gap: 15px;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.pack-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pack-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 12px;
}

/* Pack Details Page */
.pack-details-wrapper {
    margin-top: 40px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
}
.pack-details-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--accent);
}

.gallery-preview {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 15px;
    background: #000;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* ensures whole image is visible without cropped heads/feet */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.gallery-img.active {
    opacity: 1;
}

.content-list {
    list-style: none;
    margin-bottom: 40px;
    font-size: 1.1rem;
    Background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
}
.content-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.content-list li::before {
    content: '✔';
    color: #00ff88;
    margin-right: 15px;
    font-weight: bold;
}

.download-section {
    text-align: center;
    padding: 20px;
}
.download-section .btn {
    width: 100%;
    max-width: 400px;
    font-size: 1.3rem;
}

/* Comments */
.comments-section {
    margin-top: 50px;
    margin-bottom: 100px;
}
.comments-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #aaa;
}
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.comment {
    background: rgba(255,255,255,0.03);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 3px solid var(--accent);
}
.comment-author {
    font-weight: 600;
    color: #ddd;
    margin-bottom: 5px;
    font-size: 0.9rem;
}
.comment-text {
    color: #999;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: #666;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.loader {
    text-align: center;
    color: var(--accent);
    font-weight: bold;
    padding: 40px;
}

/* Partner Promo Styles */
.floating-partner-box {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: linear-gradient(135deg, rgba(20,0,40,0.95), rgba(0,0,0,0.95));
    border: 1px solid #9900ff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(153,0,255,0.4);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: slideUp 0.5s ease 2s forwards, pulseGlow 3s infinite alternate;
}

@keyframes slideUp {
    from { bottom: -100px; opacity: 0; }
    to { bottom: 20px; opacity: 1; }
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(153,0,255,0.2); }
    to { box-shadow: 0 0 25px rgba(153,0,255,0.6); }
}

.partner-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.partner-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 5px #9900ff);
}

.partner-text h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
    line-height: 1.2;
}

.partner-text h4 span {
    color: #b366ff;
}

.partner-text p {
    color: #aaa;
    font-size: 0.8rem;
    line-height: 1.2;
}

.partner-btn {
    background: linear-gradient(45deg, #9900ff, #cc00ff);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    transition: transform 0.2s;
}

.partner-btn:hover {
    transform: scale(1.05);
}

.partner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #333;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #555;
    z-index: 10;
}

.pack-card.sponsor-card {
    border-color: #9900ff;
    position: relative;
    background: linear-gradient(to bottom, var(--card-bg), rgba(30,0,40,0.6));
}

.pack-card.sponsor-card::before {
    content: 'Recomendado';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #9900ff;
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 10;
}
