/* ══════════════════════════════════════════════════════════════════
   AETHERFLOW PACKS STYLESHEET - CLIENT SIDE LOJA & MEMBROS
   ══════════════════════════════════════════════════════════════════ */

:root {
    --bg-color: #06040c;
    --panel-color: rgba(19, 15, 34, 0.6);
    --gold-color: #ffb300;
    --gold-grad: linear-gradient(135deg, #ffb300, #ff8f00);
    --text-color: #f4f1ea;
    --text-dim: rgba(244, 241, 234, 0.6);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 179, 0, 0.25);
    --radius-lg: 20px;
    --radius-md: 12px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Ambient glow backdrop background */
.ambient-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 179, 0, 0.12), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

/* Layout wrappers */
.store-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px;
    width: 100%;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Header */
.store-header {
    text-align: center;
    margin-bottom: 40px;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}
.brand-logo img {
    height: 48px;
    width: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 179, 0, 0.3));
}
.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}
.brand-name span {
    color: var(--gold-color);
}
.store-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}
.store-title span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold-color);
}
.store-subtitle {
    color: var(--text-dim);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Store Split: Grid of products (left) and Checkout card (right) */
.store-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Catalog of products */
.catalog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Interactive Card for checking products */
.catalog-card {
    background: var(--panel-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    position: relative;
}
.catalog-card:hover {
    border-color: rgba(255, 179, 0, 0.2);
    transform: translateX(4px);
}
.catalog-card.active {
    border-color: var(--gold-color);
    background: rgba(255, 179, 0, 0.04);
}
.catalog-card.combo-card {
    border-color: rgba(255, 179, 0, 0.35);
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.catalog-card.combo-card.active {
    border-color: var(--gold-color);
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.1);
}

/* Custom checkbox elements */
.card-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.catalog-card.active .card-checkbox {
    border-color: var(--gold-color);
    background: var(--gold-color);
}
.card-checkbox::after {
    content: "✓";
    font-size: 14px;
    font-weight: 800;
    color: #000000;
    display: none;
}
.catalog-card.active .card-checkbox::after {
    display: block;
}

.card-info {
    flex: 1;
}
.card-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold-color);
    background: rgba(255, 179, 0, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}
.card-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.45;
}
.card-price {
    text-align: right;
    font-size: 18px;
    font-weight: 800;
    color: var(--gold-color);
}

/* Checkout Form Side Card */
.checkout-panel {
    background: var(--panel-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.checkout-panel-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}

/* Total Price Pulsating indicator */
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.25);
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 179, 0, 0.2);
}
.checkout-total-lbl {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
}
.checkout-total-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(255, 179, 0, 0.3);
}

/* Forms styling */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}
.form-control:focus {
    border-color: var(--gold-color);
}

.gs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--gold-grad);
    color: #110c00;
    box-shadow: 0 10px 25px -5px rgba(255, 179, 0, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    width: 100%;
    border: none;
    margin-top: 10px;
}
.gs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 179, 0, 0.5);
}
.gs-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* QR Code & Payment checks */
.checkout-qr-box {
    text-align: center;
    padding: 10px 0;
}
.qr-frame {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.qr-frame img {
    max-width: 100%;
    max-height: 100%;
}
.copia-cola-box {
    margin-bottom: 20px;
}
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--gold-color);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════════════════════
   MEMBERS AREA STUDENT PORTAL DESIGN (/packs/membros.html)
   ══════════════════════════════════════════════════════════════════ */

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

.video-section {
    background: var(--panel-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(12px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #000000;
    margin-bottom: 20px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-no-access {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.video-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}
.video-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Student Sidebar downloads list */
.student-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.downloads-panel {
    background: var(--panel-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(12px);
}
.panel-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}
.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}
.download-item.locked {
    opacity: 0.5;
}
.download-item-title {
    font-size: 13.5px;
    font-weight: 700;
}
.download-item-size {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-top: 2px;
}
.download-btn {
    background: var(--gold-grad);
    color: #110c00;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
}
.download-btn.locked {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    pointer-events: none;
}

/* Playlist / Class list in Student Area */
.class-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.class-item {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.class-item:hover {
    border-color: rgba(255, 179, 0, 0.3);
}
.class-item.active {
    border-color: var(--gold-color);
    background: rgba(255, 179, 0, 0.04);
    color: var(--gold-color);
}

.hidden {
    display: none !important;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
    margin-top: 60px;
}
footer p {
    font-size: 0.8rem;
    color: rgba(244, 241, 234, 0.4);
}

/* Responsive grid adjustments */
@media (max-width: 820px) {
    .store-grid, .membros-grid {
        grid-template-columns: 1fr;
    }
}
