﻿body { background-color: var(--bg-color); color: var(--text-primary); }
        .planos-layout {
            max-width: 800px;
            margin: 0 auto;
            padding: 120px 2rem 4rem 2rem;
            min-height: calc(100vh - 80px);
        }
        .plan-tabs {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            background: var(--bg-card);
            padding: 0.5rem;
            border-radius: 12px;
            border: 1px solid var(--border-color);
        }
        .plan-tab {
            flex: 1;
            padding: 1rem;
            text-align: center;
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 1rem;
            font-weight: 500;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .plan-tab.active {
            background: rgba(139, 92, 246, 0.15);
            color: var(--primary);
            box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.3);
        }
        .plan-content {
            display: none;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 3rem;
            text-align: center;
            animation: fadeIn 0.4s ease-out forwards;
        }
        .plan-content.active {
            display: block;
        }
        .plan-header {
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .plan-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 0.5rem;
        }
        .plan-desc {
            color: var(--text-muted);
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }
        .plan-price-large {
            font-size: 3rem;
            font-weight: 800;
            color: var(--primary);
        }
        .plan-price-large span {
            font-size: 1rem;
            color: var(--text-muted);
            font-weight: 500;
        }
        .features-list {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: left;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1rem;
        }
        .features-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
            color: #d1d5db;
            font-size: 0.95rem;
            padding: 0.8rem;
            background: rgba(255,255,255,0.02);
            border-radius: 8px;
        }
        .features-list li svg {
            color: var(--primary);
            flex-shrink: 0;
            margin-top: 2px;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @media (max-width: 600px) {
            .plan-tabs { flex-direction: column; }
            .plan-content { padding: 1.5rem; }
        }


/* OVERRIDE TO FIX OVERFLOW ON MOBILE */
.features-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
}

.plan-content {
    /* Responsive padding so it doesn't overflow mobile viewports */
    padding: clamp(1.5rem, 5vw, 3rem) !important;
}


/* TCG CAROUSEL STYLES (3D COVERFLOW) */
.tcg-carousel-container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto 2rem auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tcg-carousel-track {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 520px; /* Height to accommodate the card */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-card {
    position: absolute;
    width: 320px;
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    pointer-events: none; /* Only active/prev/next get pointer events */
    z-index: 1;
}

/* Base inactive states */
.carousel-card.prev, .carousel-card.next {
    opacity: 0.5;
    pointer-events: auto;
    z-index: 5;
    filter: brightness(0.6) blur(4px);
}

/* The card to the left */
.carousel-card.prev {
    transform: translateX(-35%) scale(0.85);
}

/* The card to the right */
.carousel-card.next {
    transform: translateX(35%) scale(0.85);
}

/* The active center card */
.carousel-card.active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    transform: translateX(0) scale(1.05);
    filter: brightness(1) drop-shadow(0 0 25px rgba(250, 204, 21, 0.5));
}

/* Carousel Controls */
.tcg-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 20;
}

.carousel-arrow {
    background: transparent;
    border: none;
    color: #facc15; /* Vibrant yellow */
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0.5rem;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.carousel-arrow:hover {
    color: #fff;
    transform: scale(1.3);
    text-shadow: 0 0 15px #facc15, 0 0 25px #facc15;
}

.carousel-instructions {
    text-align: center;
    color: #facc15; /* Vibrant yellow */
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Silkscreen', cursive;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

.tcg-carousel-controls:hover .carousel-instructions {
    color: #fff;
    text-shadow: 0 0 10px #facc15, 0 0 20px #facc15;
    animation: blinkGlow 0.8s infinite alternate;
}

@keyframes blinkGlow {
    0% { opacity: 0.8; text-shadow: 0 0 5px #facc15; }
    100% { opacity: 1; text-shadow: 0 0 20px #facc15, 0 0 30px #facc15; }
}

/* Adjust tcg-content specifically for the carousel version */
.carousel-card .tcg-content {
    top: 63%; /* Ensuring price stays under the banner */
    bottom: 12%;
}

@media (max-width: 768px) {
    .tcg-carousel-track {
        height: 450px;
    }
    .carousel-card {
        width: 260px; /* Smaller cards on mobile */
    }
    .carousel-card.prev { transform: translateX(-40%) scale(0.85); }
    .carousel-card.next { transform: translateX(40%) scale(0.85); }
}


