/* ==========================================================================
   DONUTMONEY STORE - DISCORD ID REQUIRED & BOT DM WORKFLOW STYLESHEET
   ========================================================================== */

:root {
    --bg-dark: #09090e;
    --bg-card: rgba(18, 18, 28, 0.8);
    --bg-card-hover: rgba(28, 28, 44, 0.9);
    --bg-input: rgba(12, 12, 22, 0.95);

    --primary-purple: #8b5cf6;
    --accent-gold: #fbbf24;
    --accent-amber: #f59e0b;
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-warning: #f59e0b;

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;

    --border-color: rgba(255, 255, 255, 0.08);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-main: 'Outfit', 'Noto Sans JP', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-glow-gold: 0 0 25px rgba(251, 191, 36, 0.35);
    --shadow-glow-purple: 0 0 25px rgba(139, 92, 246, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(251, 191, 36, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colors & Highlights */
.text-gold { color: var(--accent-gold); }
.text-emerald { color: var(--accent-emerald); }
.text-cyan { color: var(--accent-cyan); }
.text-pink { color: var(--accent-pink); }
.text-warning { color: var(--accent-warning); }
.text-center { text-align: center; }
.highlight { color: var(--accent-gold); }

.gradient-text {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffe066 50%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-purple);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
    background: var(--primary-violet);
    transform: translateY(-2px);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: #0d0d12;
    box-shadow: var(--shadow-glow-gold);
    font-weight: 900;
}
.btn-gradient:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-cart {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    position: relative;
    padding: 8px 16px;
}
.btn-cart:hover {
    background: var(--accent-gold);
    color: #000;
}

.cart-badge {
    background: var(--accent-pink);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-weight: 900;
}

.btn-full { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Top Announcement & Header */
.announcement-bar {
    background: linear-gradient(90deg, #271a00 0%, #4a3000 50%, #271a00 100%);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    padding: 8px 0;
    font-size: 0.85rem;
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-dot-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    margin-right: 4px;
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 14, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.logo-title { font-size: 1.4rem; font-weight: 900; }
.logo-sub { display: block; font-size: 0.65rem; color: var(--text-muted); letter-spacing: 1px; }

.nav-menu { display: flex; gap: 24px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.nav-link:hover, .nav-link.active { color: #fff; }

/* Hero Section */
.hero-section { padding: 70px 0 50px; }
.hero-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-title { font-size: 3rem; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; }
.hero-stats { display: flex; gap: 32px; border-top: 1px solid var(--border-color); padding-top: 24px; }
.stat-card { display: flex; flex-direction: column; }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--accent-gold); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Featured Card */
.featured-preview-card {
    padding: 32px; position: relative;
    border: 1px solid var(--accent-gold); box-shadow: var(--shadow-glow-gold); text-align: center;
}

.preview-badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--accent-gold); color: #000;
    font-weight: 900; font-size: 0.75rem; padding: 4px 10px; border-radius: var(--radius-sm);
}

.preview-icon { font-size: 3.5rem; margin-bottom: 12px; }
.preview-desc { color: var(--text-muted); font-size: 0.9rem; margin: 8px 0 20px; }
.preview-price { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; }
.price-old { text-decoration: line-through; color: var(--text-muted); }
.price-current { font-size: 2.2rem; font-weight: 900; color: var(--accent-gold); }

/* 3-Pack Centered Money Grid */
.catalog-section { padding: 60px 0; }
.section-header { margin-bottom: 40px; }
.section-title { font-size: 2.2rem; font-weight: 900; }
.section-desc { color: var(--text-muted); margin-top: 6px; }

.money-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.money-card {
    padding: 32px 24px; position: relative;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: var(--transition-smooth);
}

.money-card:hover { transform: translateY(-8px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6); }

.popular-card { border: 2px solid var(--accent-gold); box-shadow: var(--shadow-glow-gold); }
.mythic-card { border: 2px solid var(--accent-pink); box-shadow: 0 0 25px rgba(236, 72, 153, 0.35); }

.money-card-badge {
    position: absolute; top: 14px; left: 14px;
    font-size: 0.75rem; font-weight: 800; padding: 3px 10px; border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08); color: var(--text-muted);
}

.badge-popular { background: var(--accent-gold); color: #000; }
.badge-mythic { background: var(--accent-pink); color: #fff; }

.money-icon { font-size: 3.8rem; margin: 16px 0 12px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }
.money-amount { font-size: 2.2rem; font-weight: 900; color: #fff; }
.money-amount .unit { display: block; font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }
.money-desc { color: var(--text-muted); font-size: 0.9rem; margin: 12px 0 24px; }
.money-price { font-size: 2.4rem; font-weight: 900; color: var(--accent-gold); margin-bottom: 24px; }

/* Guide Section */
.guide-section { padding: 40px 0 60px; }
.guide-container { padding: 36px; }
.guide-header { margin-bottom: 32px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.step-card {
    background: rgba(12, 12, 22, 0.7); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: 24px; text-align: center;
}

.step-num {
    width: 36px; height: 36px; background: var(--accent-gold); color: #000;
    font-weight: 900; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.1rem;
}

.step-card h4 { margin-bottom: 8px; font-size: 1.05rem; }
.step-card p { color: var(--text-muted); font-size: 0.85rem; }

/* Forms & Modals */
.custom-input, .custom-select {
    background: var(--bg-input); border: 1px solid var(--border-color); color: #fff;
    padding: 12px 16px; border-radius: var(--radius-sm); font-family: inherit; font-size: 0.95rem; outline: none; width: 100%;
}
.custom-input:focus, .custom-select:focus { border-color: var(--accent-gold); box-shadow: 0 0 10px rgba(251, 191, 36, 0.3); }

.notice-box {
    background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text-main); line-height: 1.5;
}

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.required { color: var(--accent-pink); }

.form-help-text {
    display: block; color: var(--text-muted); font-size: 0.78rem; margin-top: 6px; line-height: 1.4;
}

.form-help-text.text-warning {
    color: var(--accent-warning);
    background: rgba(245, 158, 11, 0.1);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-top: 8px;
}

/* Footer */
.main-footer { background: #050508; border-top: 1px solid var(--border-color); padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 10px; }
.footer-links ul { list-style: none; color: var(--text-muted); font-size: 0.85rem; }
.disclaimer { font-size: 0.75rem; color: var(--text-muted); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 20px; font-size: 0.8rem; color: var(--text-muted); }

/* Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; z-index: 1000;
    opacity: 0; visibility: hidden; transition: var(--transition-fast);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container { width: 90%; max-width: 600px; padding: 32px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-close { background: transparent; border: none; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; }
.cart-items-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; background: rgba(12, 12, 22, 0.8); padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.cart-item-title { font-weight: 700; font-size: 0.95rem; }
.cart-item-price { color: var(--accent-gold); font-weight: 900; font-size: 1.1rem; }
.cart-remove-btn { background: transparent; border: none; color: var(--accent-pink); cursor: pointer; }
.cart-total-display { font-size: 1.3rem; font-weight: 900; margin-bottom: 16px; text-align: right; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; }
.empty-state { text-align: center; padding: 30px 0; color: var(--text-muted); }
.empty-icon { font-size: 3rem; opacity: 0.4; margin-bottom: 10px; }

/* Toast Notifications */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast {
    background: rgba(18, 18, 28, 0.95); border: 1px solid var(--accent-gold);
    color: #fff; padding: 14px 20px; border-radius: var(--radius-sm); box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex; align-items: center; gap: 12px;
}

@media (max-width: 900px) {
    .money-grid-3 { grid-template-columns: 1fr; }
    .hero-container, .steps-grid, .footer-content { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
}
