:root {
    --bg-dark: #13111C;
    --bg-card: rgba(30, 26, 43, 0.6);
    --primary: #FF7597;
    --primary-hover: #FF5A82;
    --text-main: #FFFFFF;
    --text-muted: #A09DB0;
    --accent: #FFB7D5;
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

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

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    transition: width 0.2s, height 0.2s;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(19, 17, 28, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container, .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(255, 117, 151, 0.5));
}

.logo-text h1 {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo-text h1 span {
    color: var(--primary);
}

.logo-text p {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 700;
}

.season-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.season-badge i {
    color: #4ade80;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(74, 222, 128, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    color: #4ade80;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: none;
    box-shadow: 0 4px 15px rgba(255, 117, 151, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 117, 151, 0.6);
}

.btn-primary.large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-bg-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.org-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: -100px; left: -100px;
}

.org-2 {
    width: 500px; height: 500px;
    background: #7E57C2;
    bottom: -100px; right: -100px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.badge-tag .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ip-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 6px;
    padding-left: 20px;
    cursor: none;
    transition: 0.3s;
}

.ip-box:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.ip-info {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.ip-info .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.ip-info .ip {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 100px;
    font-weight: 600;
    cursor: none;
    transition: 0.3s;
}

.ip-box:hover .copy-btn {
    background: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.stat h3 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.stat p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 600;
}

/* Mockup Card */
.mockup-card {
    padding: 1.5rem;
    transform: rotate(2deg);
    transition: transform 0.5s;
    animation: float 6s ease-in-out infinite;
}

.mockup-card:hover {
    transform: rotate(0deg) scale(1.02);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(2deg); }
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.dots span {
    width: 10px; height: 10px; border-radius: 50%;
}

.dots span:nth-child(1) { background: #FF5F56; }
.dots span:nth-child(2) { background: #FFBD2E; }
.dots span:nth-child(3) { background: #27C93F; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.placeholder-image {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    background: linear-gradient(45deg, #2b1f31, #3a2235, #1e1a2b);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary);
    text-align: center;
    padding: 20px;
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.8;
}

.placeholder-image p {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.mockup-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.m-feat {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.m-feat h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.m-feat p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    grid-column: 1 / -1;
}

.section-header h4 {
    color: var(--text-muted);
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 117, 151, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 117, 151, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    border: 1px solid rgba(255, 117, 151, 0.2);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .badge-tag {
        margin: 0 auto 24px;
    }
    
    .hero-desc {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

/* Page Specific Styles */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 2rem 50px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}
.page-header h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.page-header p {
    color: var(--text-muted);
}

.table-glass {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
.table-glass th, .table-glass td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.table-glass th {
    color: var(--primary);
    font-weight: 700;
}
.table-glass tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.rank-card {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.rank-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    height: 250px;
    border-radius: 12px;
    background: linear-gradient(45deg, rgba(255,117,151,0.1), rgba(0,0,0,0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}
.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}
.gallery-item p {
    font-size: 1rem;
    margin-top: 10px;
    color: var(--text-muted);
}

.rules-list {
    list-style: none;
}
.rules-list li {
    padding: 25px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}
.rules-list h3 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Realistic Leaderboard */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.leaderboard-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.ld-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    width: 40px;
    text-align: center;
}

.ld-player {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.ld-player img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    image-rendering: pixelated;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);
}

.ld-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badg {
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 1px;
}
.b-owner { background: #ff5555; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.b-mvp { background: #55ffff; color: #008888; }
.b-vip { background: #55ff55; color: #008800; }

.ld-stats {
    display: flex;
    gap: 40px;
    text-align: right;
}

.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-item span:first-child {
    font-size: 0.70rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}
.stat-item span:last-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Top 3 Glows */
.rank-1 { 
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.02)); 
    border-color: rgba(255, 215, 0, 0.3); 
}
.rank-1 .ld-rank { color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.rank-1 .stat-item span:last-child { color: #ffd700; }
.rank-1 .ld-player img { border-color: #ffd700; }

.rank-2 { 
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.1), rgba(255, 255, 255, 0.02)); 
    border-color: rgba(192, 192, 192, 0.3); 
}
.rank-2 .ld-rank { color: #c0c0c0; text-shadow: 0 0 10px rgba(192, 192, 192, 0.5); }
.rank-2 .stat-item span:last-child { color: #c0c0c0; }
.rank-2 .ld-player img { border-color: #c0c0c0; }

.rank-3 { 
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.1), rgba(255, 255, 255, 0.02)); 
    border-color: rgba(205, 127, 50, 0.3); 
}
.rank-3 .ld-rank { color: #cd7f32; text-shadow: 0 0 10px rgba(205, 127, 50, 0.5); }
.rank-3 .stat-item span:last-child { color: #cd7f32; }
.rank-3 .ld-player img { border-color: #cd7f32; }

/* Video Player Hero */
.video-container {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Make the logo background transparent via blending */
.logo img {
    border: none !important;
    border-radius: 0 !important;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 8px rgba(255, 117, 151, 0.8));
    transform: scale(1.3);
    margin-right: 5px;
}

/* Lightbox Modal */
.gallery-item {
    cursor: none;
}

.lightbox {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(255, 117, 151, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: none;
    transition: 0.3s;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Download Notification Toast */
.download-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 26, 43, 0.95);
    border: 2px solid var(--primary);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 117, 151, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.download-toast.show {
    bottom: 40px;
}

.download-toast i {
    font-size: 24px;
    color: var(--primary);
    animation: bounce 2s infinite;
}

.download-toast p {
    font-weight: 500;
    margin: 0;
}

.download-toast span {
    color: var(--primary);
    font-weight: 700;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ── Join Now Modal ──────────────────────────────────────── */
.join-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.join-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.join-modal {
    background: rgba(25, 21, 38, 0.97);
    border: 1.5px solid rgba(255, 117, 151, 0.4);
    border-radius: 20px;
    padding: 36px 32px 28px;
    width: 380px;
    max-width: 92vw;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 117, 151, 0.2);
    transform: scale(0.88) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.join-modal-overlay.active .join-modal {
    transform: scale(1) translateY(0);
}

.join-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px 8px;
}

.join-modal-close:hover { color: var(--primary); }

.join-modal-icon { font-size: 42px; margin-bottom: 10px; }

.join-modal h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.join-modal h2 span { color: var(--primary); }

.join-modal-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.join-modal-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
    text-align: left;
    font-size: 0.88rem;
}

.join-modal-info div { display: flex; align-items: center; gap: 10px; }
.join-modal-info i { color: var(--primary); width: 16px; }

.join-modal-note {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* -- Store Cart -- */
.cart-icon { position: relative; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); color: var(--text-main); font-size: 16px; transition: background 0.2s; }
.cart-icon:hover { background: rgba(255,117,151,0.15); color: var(--primary); }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--primary); color: white; font-size: 10px; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cart-dropdown { position: fixed; top: 70px; right: 24px; width: 280px; background: rgba(25,21,38,0.98); border: 1.5px solid rgba(255,117,151,0.3); border-radius: 16px; padding: 18px; z-index: 1500; box-shadow: 0 15px 40px rgba(0,0,0,0.4); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s; }
.cart-dropdown.active { opacity: 1; pointer-events: all; transform: translateY(0); }
.cart-dropdown h4 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.cart-dropdown h4 i { color: var(--primary); }
.cart-dropdown ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-dropdown ul li { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cart-dropdown ul li.cart-empty { color: var(--text-muted); justify-content: center; font-size: 0.82rem; }
.cart-dropdown ul li strong { color: var(--primary); }
.cart-total { margin-top: 10px; font-weight: 700; font-size: 0.95rem; text-align: right; color: var(--primary); }

/* -- Checkout Input -- */
.checkout-input { width: 100%; padding: 10px 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: var(--text-main); font-family: 'Quicksand', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.checkout-input:focus { border-color: var(--primary); }
.checkout-input::placeholder { color: var(--text-muted); }

/* -- Interactive Virtual Card -- */
.virtual-card { position: relative; width: 100%; max-width: 340px; height: 190px; margin: 0 auto 20px auto; border-radius: 16px; background: linear-gradient(135deg, rgba(255,117,151,0.9), rgba(168,85,247,0.9)); box-shadow: 0 15px 35px rgba(255,117,151,0.25); padding: 22px; color: white; font-family: 'Courier New', Courier, monospace; overflow: hidden; text-align: left; transition: transform 0.3s; }
.virtual-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent); pointer-events: none; }
.card-chip { width: 45px; height: 35px; background: rgba(255,255,255,0.8); border-radius: 6px; margin-bottom: 24px; position: relative; overflow: hidden; }
.card-chip::after { content: ""; position: absolute; left: 10%; top: 20%; width: 80%; height: 60%; border: 1px solid rgba(0,0,0,0.2); border-radius: 3px; }
.card-logo { position: absolute; top: 22px; right: 28px; font-size: 26px; font-weight: bold; font-family: 'Quicksand'; opacity: 1; }
.card-number-display { font-size: 1.4rem; letter-spacing: 2px; margin-bottom: 24px; min-height: 27px; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }
.card-details-row { display: flex; justify-content: space-between; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.card-label { font-size: 0.6rem; opacity: 0.75; margin-bottom: 4px; font-family: 'Quicksand', sans-serif; }
.card-value { text-shadow: 1px 1px 2px rgba(0,0,0,0.3); min-height: 18px; }

/* -- 3D Card Flip -- */
.card-container { perspective: 1000px; width: 100%; max-width: 340px; margin: 0 auto 20px auto; }
.virtual-card-flipper { position: relative; width: 100%; height: 190px; text-align: left; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; }
.card-container.flipped .virtual-card-flipper { transform: rotateY(180deg); }

.card-front, .card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 16px; background: linear-gradient(135deg, rgba(255,117,151,0.9), rgba(168,85,247,0.9)); box-shadow: 0 15px 35px rgba(255,117,151,0.25); color: white; font-family: 'Courier New', Courier, monospace; overflow: hidden; }
.card-front::before, .card-back::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent); pointer-events: none; }
.card-front { padding: 22px; z-index: 2; }
.card-back { transform: rotateY(180deg); }

.card-magnetic-stripe { width: 100%; height: 40px; background: rgba(0,0,0,0.8); margin-top: 20px; }
.card-cvv-box { background: white; color: black; margin: 20px; height: 35px; border-radius: 4px; display: flex; align-items: center; justify-content: flex-end; padding-right: 15px; font-size: 1.1rem; font-style: italic; }
.card-cvv-label { text-align: right; margin-right: 20px; font-size: 0.7rem; font-family: 'Quicksand', sans-serif; text-transform: uppercase; margin-top: -15px; opacity: 0.8; }
