/* ========================================
   GAME PLANS PAGE STYLES
   ======================================== */

/* Background Slideshow */
.game-bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.game-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.game-bg-slide.active {
    opacity: 1;
}

.game-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

/* Game Hero Section */
.game-hero {
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--gold-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
}

.game-icon svg {
    width: 45px;
    height: 45px;
}

.game-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.game-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Plan Card */
.plan-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.plan-card.popular {
    border-color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.05);
}

.plan-card.ultimate {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.popular-badge,
.ultimate-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.popular-badge {
    background: var(--gold-primary);
    color: black;
}

.ultimate-badge {
    background: linear-gradient(90deg, #8b5cf6, var(--gold-primary));
    color: white;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    color: var(--gold-primary);
    font-weight: 600;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-iva-notice {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 215, 0, 0.5);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.check-icon {
    width: 18px;
    height: 18px;
    stroke: var(--gold-primary);
    stroke-width: 3;
    fill: none;
    flex-shrink: 0;
}

/* Plan Button */
.btn-plan {
    display: block;
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--gold-primary);
    border-radius: 10px;
    color: var(--gold-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 1.5rem;
}

.btn-plan:hover {
    background: var(--gold-primary);
    color: black;
}

.btn-ultimate {
    background: linear-gradient(90deg, #8b5cf6, var(--gold-primary));
    border: none;
    color: white;
}

.btn-ultimate:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* Game Features Section */
.game-features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 215, 0, 0.03);
    border-color: rgba(255, 215, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-item h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .game-hero h1 {
        font-size: 2.5rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .plan-price .amount {
        font-size: 2.5rem;
    }

    .ultimate-pointer {
        display: none;
    }
}

/* Ultimate Plan SVG Decorations */
.plan-card.ultimate {
    overflow: visible;
}

.ultimate-decor {
    position: absolute;
    z-index: 10;
    animation: float-decor 3s ease-in-out infinite;
}

/* Pickaxe decorations */
.ultimate-pickaxe {
    width: 60px;
    height: 60px;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.ultimate-pickaxe.left {
    left: -40px;
    top: 30%;
    transform: rotate(-30deg);
    animation-delay: 0s;
}

.ultimate-pickaxe.right {
    right: -40px;
    top: 30%;
    transform: rotate(30deg) scaleX(-1);
    animation-delay: 0.5s;
}

/* Ore decorations */
.ultimate-ore {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px currentColor);
}

.ultimate-ore.diamond {
    color: #5de7ed;
    left: -35px;
    bottom: 25%;
    animation-delay: 0.3s;
}

.ultimate-ore.gold {
    color: #ffd700;
    right: -35px;
    bottom: 25%;
    animation-delay: 0.8s;
}

.ultimate-ore.emerald {
    color: #50c878;
    left: -30px;
    top: 60%;
    animation-delay: 1s;
}

.ultimate-ore.redstone {
    color: #ff4444;
    right: -30px;
    top: 60%;
    animation-delay: 1.3s;
}

/* Sparkle elements */
.ultimate-sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
    animation: sparkle-pulse 1.5s ease-in-out infinite;
}

.ultimate-sparkle:nth-child(1) {
    top: -15px;
    left: 20%;
    animation-delay: 0s;
}

.ultimate-sparkle:nth-child(2) {
    top: -15px;
    right: 20%;
    animation-delay: 0.3s;
}

.ultimate-sparkle:nth-child(3) {
    bottom: -15px;
    left: 30%;
    animation-delay: 0.6s;
}

.ultimate-sparkle:nth-child(4) {
    bottom: -15px;
    right: 30%;
    animation-delay: 0.9s;
}

@keyframes float-decor {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rotate, 0deg));
    }

    50% {
        transform: translateY(-5px) rotate(var(--rotate, 0deg));
    }
}

@keyframes sparkle-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Hide decorations on mobile */
@media (max-width: 1000px) {

    .ultimate-decor,
    .ultimate-sparkle {
        display: none;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(-10px);
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes fire-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}