/* =========================================
   GLC Max Lifetime - Standalone Styles V3
   ========================================= */

:root {
    --bg-dark: #050505;
    --bg-panel: #111111;
    --text-main: #ffffff;
    --text-muted: #888888;
    
    /* Branding Colors */
    --glc-blue: #0155d4;
    --glc-blue-light: #00a2ff;
    --glc-gold: #ffd700;
    --glc-gold-dark: #b8860b;
    --glc-green: #27c93f;
    --glc-red: #ff5f56;
    --discord: #5865F2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; /* Ensures it spans its max-width correctly */
}

/* --- Moving Starfield Background (Seamless Loop Fix) --- */
#starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -10;
    background: radial-gradient(ellipse at bottom, #0d1218 0%, #050505 100%);
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    display: block;
    /* The SVG acts as a seamless repeating tile */
    background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><circle cx="20" cy="20" r="1" fill="white"/><circle cx="150" cy="80" r="1" fill="white"/><circle cx="300" cy="250" r="1.5" fill="white" opacity="0.8"/><circle cx="80" cy="350" r="1" fill="white"/><circle cx="250" cy="120" r="0.5" fill="white" opacity="0.5"/></svg>') repeat;
}

/* We use a background-position translation of -1200px because 1200 
  is a perfect mathematical multiple of all three background sizes (400, 200, and 600).
  This guarantees a flawless, invisible reset point for the loop.
*/
.stars { 
    background-size: 400px 400px; 
    animation: animStar 50s linear infinite; 
    z-index: 1; 
}
.stars2 { 
    background-size: 200px 200px; 
    animation: animStar 100s linear infinite; 
    z-index: 2; 
    opacity: 0.7;
}
.stars3 { 
    background-size: 600px 600px; 
    animation: animStar 150s linear infinite; 
    z-index: 3; 
    opacity: 0.5;
}

@keyframes animStar {
    from { background-position: 0 0; }
    to { background-position: 0 -1200px; }
}

/* --- Sticky Top Wrapper --- */
.glc-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

/* --- Urgency Banner --- */
.glc-urgency-banner {
    background: linear-gradient(90deg, #8b0000 0%, var(--glc-red) 50%, #8b0000 100%);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pulse-icon {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* --- Minimal Header --- */
.glc-minimal-header {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    width: 100%; /* Spans full width */
}

/* The .container class added in HTML handles the max-width and centering for the header content */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glc-logo-img {
    max-height: 40px;
    width: auto;
}

.logo-fallback {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-accent { color: var(--glc-blue-light); }

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover { color: white; }

/* --- Hero Section --- */
.glc-hero { padding: 80px 0; position: relative; }

.glc-hero-glow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(1, 85, 212, 0.15) 0%, transparent 60%);
    z-index: -1; pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.glc-badge-blue {
    display: inline-block; padding: 6px 15px;
    background: rgba(1, 85, 212, 0.15);
    border: 1px solid var(--glc-blue);
    color: var(--glc-blue-light);
    border-radius: 50px; font-size: 0.8rem;
    font-weight: 700; letter-spacing: 1px; margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800;
}

.text-blue-gradient {
    background: linear-gradient(90deg, #fff 0%, var(--glc-blue-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.text-blue { color: var(--glc-blue-light); }
.text-gold { color: var(--glc-gold); }

.lead-text { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; }

/* Buttons */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--glc-blue) 0%, var(--glc-blue-light) 100%);
    color: #fff; padding: 16px 32px; border-radius: 8px;
    font-weight: 800; font-size: 1.1rem; text-decoration: none; text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(1, 85, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(1, 85, 212, 0.6);
    background: linear-gradient(135deg, var(--glc-blue-light) 0%, var(--glc-blue) 100%);
}

.payment-methods {
    margin-top: 15px; font-size: 0.85rem; color: #666;
    display: flex; align-items: center; gap: 10px;
}
.payment-methods i { font-size: 1.5rem; color: #fff; opacity: 0.7; }

/* --- 3D Card Effect with Custom Image Background --- */
.glc-card-scene {
    perspective: 1500px; width: 100%; max-width: 450px; margin: 0 auto;
}

.glc-card {
    width: 100%; aspect-ratio: 1.586/1;
    /* Base color in case image fails */
    background-color: #0a0a0a;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.05), 0 0 30px rgba(255, 215, 0, 0.1);
    position: relative; overflow: hidden;
    padding: 30px; display: flex; flex-direction: column; justify-content: center;
    transform-style: preserve-3d; will-change: transform;
}

/* New Image Background Layer */
.glc-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.65; /* Darkens the image so text remains readable */
    filter: brightness(0.7) contrast(1.2);
}

/* Dynamic Lighting Layer */
.glc-card-shine {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2) 0%, transparent 60%);
    z-index: 4; pointer-events: none; background-size: 200% 200%;
    transition: background-position 0.1s ease;
}

.glc-card-texture {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    opacity: 0.5; mix-blend-mode: overlay; z-index: 1;
}

.glc-card-chip {
    width: 55px; height: 40px;
    background: linear-gradient(135deg, #e6c86e 0%, #bf953f 50%, #b38728 100%);
    border-radius: 6px;
    position: absolute; top: 35px; left: 35px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4); z-index: 5;
    transform: translateZ(25px);
}

.chip-line {
    position: absolute; top: 50%; left: 0; width: 100%; height: 1px;
    background: rgba(0,0,0,0.2); box-shadow: 0 10px 0 rgba(0,0,0,0.2), 0 -10px 0 rgba(0,0,0,0.2);
}

/* Horizontal Ribbon Fix */
.badge-exclusive {
    position: absolute; 
    top: 30px; 
    right: 30px;
    background: linear-gradient(90deg, var(--glc-gold), var(--glc-gold-dark)); 
    color: #000;
    font-weight: 800; 
    font-size: 0.75rem;
    padding: 6px 16px;
    border-radius: 4px;
    transform: translateZ(40px); /* Removed rotation */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 10;
    letter-spacing: 1px;
}

.card-text-group { position: relative; z-index: 5; transform: translateZ(30px); margin-left: 5px; }
.card-top { color: var(--glc-gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.card-title { font-size: 2.4rem; font-weight: 800; text-transform: uppercase; line-height: 1; text-shadow: 0 5px 15px rgba(0,0,0,0.9); }
.card-id { position: absolute; bottom: 35px; left: 35px; font-family: monospace; color: rgba(255,255,255,0.7); font-size: 0.85rem; z-index: 5; transform: translateZ(15px); text-shadow: 0 2px 4px rgba(0,0,0,0.8); }


/* --- Bento Box Features Section --- */
.glc-features-bento { padding: 80px 0; position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: 20px;
}

.bento-card {
    background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
    padding: 30px; transition: transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
}

.bento-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.bento-large { grid-column: span 2; }

.feature-dev:hover { border-color: rgba(1, 85, 212, 0.4); }
.feature-plugins:hover { border-color: rgba(255, 215, 0, 0.4); }
.feature-discord:hover { border-color: rgba(88, 101, 242, 0.4); }
.feature-future:hover { border-color: rgba(1, 85, 212, 0.4); }

.f-icon-blue, .f-icon-gold, .f-icon-discord {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 20px;
}
.f-icon-blue { background: rgba(1, 85, 212, 0.15); color: var(--glc-blue-light); }
.f-icon-gold { background: rgba(255, 215, 0, 0.15); color: var(--glc-gold); }
.f-icon-discord { background: rgba(88, 101, 242, 0.15); color: var(--discord); }

.bento-content h3 { font-size: 1.3rem; margin-bottom: 10px; color: #fff; }
.bento-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.glc-pill {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #ccc; padding: 6px 14px; border-radius: 30px;
    font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.glc-pill i { color: var(--glc-blue-light); }
.glow-pill { background: rgba(1, 85, 212, 0.1); border-color: var(--glc-blue); color: #fff; box-shadow: 0 0 15px rgba(1, 85, 212, 0.3); }

.plugin-list { list-style: none; padding: 0; margin: 0; }
.plugin-list li { font-size: 0.9rem; color: #aaa; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.plugin-list li i { color: var(--glc-gold); width: 16px; }


/* --- NEW Ultimate Checkout Layout (Value Stack) --- */
.glc-ultimate-checkout {
    padding: 100px 0 120px 0;
    position: relative;
    z-index: 2;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

/* Left Side: Value Stack */
.checkout-value-stack {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.checkout-value-stack h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: 5px; }
.value-sub { color: var(--text-muted); margin-bottom: 30px; font-size: 1.05rem; }

.value-list { list-style: none; padding: 0; margin: 0 0 30px 0; }
.value-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    font-size: 1.05rem;
}

.value-list li:last-child { border-bottom: none; }

.v-item { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.v-price { font-family: monospace; color: var(--text-muted); font-size: 1.1rem; }

.highlight-row {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    padding: 15px 10px !important;
    border-radius: 8px;
    margin-left: -10px;
}
.highlight-row .v-item { color: var(--glc-gold); }

.value-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 20px;
    border-top: 2px solid rgba(255,255,255,0.1);
    font-size: 1.2rem; font-weight: 700;
}

.strike-value { color: var(--glc-red); text-decoration: line-through; font-size: 1.5rem; }

/* Right Side: Action Card */
.checkout-action-card {
    background: linear-gradient(145deg, #121212 0%, #080808 100%);
    padding: 50px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

/* Green Top Border Accent */
.checkout-action-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #17b32d 0%, var(--glc-green) 100%);
}

.urgency-pill {
    display: inline-block;
    background: rgba(255, 95, 86, 0.1);
    color: var(--glc-red);
    border: 1px solid rgba(255, 95, 86, 0.3);
    padding: 6px 16px; border-radius: 30px;
    font-size: 0.85rem; font-weight: 700; margin-bottom: 25px;
}

.action-price-block { margin-bottom: 30px; }

.price-massive {
    font-size: 5.5rem; font-weight: 800; line-height: 1;
    color: var(--glc-green); text-shadow: 0 0 30px rgba(39, 201, 63, 0.3);
}

.price-massive .currency { font-size: 2.5rem; vertical-align: top; opacity: 0.8; position: relative; top: 15px; }
.price-terms { font-size: 0.85rem; color: #888; letter-spacing: 1px; margin-top: 10px; font-weight: 600; }

.btn-checkout-massive {
    display: inline-flex; justify-content: center; align-items: center; gap: 10px;
    width: 100%; background: linear-gradient(135deg, var(--glc-green) 0%, #17b32d 100%);
    color: #fff; font-size: 1.2rem; font-weight: 800;
    padding: 22px 40px; border-radius: 12px; text-decoration: none; text-transform: uppercase;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 15px 30px rgba(39, 201, 63, 0.3);
    margin-bottom: 20px;
}

.btn-checkout-massive:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(39, 201, 63, 0.5);
    background: linear-gradient(135deg, #2ae044 0%, var(--glc-green) 100%);
}

.checkout-trust {
    display: flex; gap: 20px; font-size: 0.85rem; color: #aaa; margin-bottom: 25px;
}
.trust-item i { color: var(--glc-green); margin-right: 5px; }

.checkout-methods { display: flex; gap: 15px; font-size: 2rem; color: rgba(255,255,255,0.3); }


/* --- Minimal Footer --- */
.glc-minimal-footer {
    border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; text-align: center; font-size: 0.85rem; color: #666; position: relative; z-index: 2; background: #050505;
}
.glc-minimal-footer .container { display: flex; justify-content: space-between; align-items: center; }
.footer-links a { color: #888; text-decoration: none; margin-left: 20px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }

/* --- Responsive Layout --- */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content h1 { font-size: 2.8rem; }
    .payment-methods { justify-content: center; }
    .glc-card-scene { margin-top: 20px; }
    
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large { grid-column: span 1; }
    
    /* Responsive Split Checkout */
    .checkout-wrapper { grid-template-columns: 1fr; border-radius: 16px; }
    .checkout-action-card { border-left: none; border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 30px; }
    .checkout-value-stack { padding: 40px 30px; }
    
    .price-massive { font-size: 4.5rem; }
    
    .glc-minimal-footer .container { flex-direction: column; gap: 15px; }
    .footer-links a { margin: 0 10px; }
}