:root {
    --bg-deep: transparent;
    --wood-dark: rgba(25, 15, 10, 0.7); /* Deep dark wood */
    --gold-accent: #ff2222; /* Eerie Demon Slayer Red */
    --gold-dim: #990000; /* Deep Blood Red */
    --text-primary: #ffffff;
    --text-secondary: #ffcccc;
    --bounty-red: #ff0000;
    --glass-border: rgba(255, 34, 34, 0.3);
    --glass-bg: rgba(20, 10, 5, 0.6);
}

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

body {
    background-color: #020813;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    perspective: 1000px;
}

#canvas-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: width 0.3s, height 0.3s;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-section {
    text-align: center;
    max-width: 800px;
    margin-bottom: 6rem;
}

.glow-text {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold-accent);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 40px rgba(212, 175, 55, 0.2);
    margin-bottom: 1rem;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); text-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
    50% { transform: scale(1.02); text-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 50px rgba(212, 175, 55, 0.3); }
    100% { transform: scale(1); text-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin: 2rem 0 5rem;
    width: 100%;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gold-accent);
    font-weight: 700;
    display: block;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Premium Glass Style */
.premium-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.about-card {
    padding: 3rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #e2e8f0;
    text-align: center;
    font-weight: 300;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold-accent);
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 0.15em;
    position: relative;
    display: inline-block;
    width: 100%;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold-accent);
    margin: 1.5rem auto 0;
    box-shadow: 0 0 10px var(--gold-accent);
}

.apps-section {
    width: 100%;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.app-card {
    text-decoration: none;
    display: block;
    cursor: default;
    position: relative;
    padding: 1px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0) 100%);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a.app-card {
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.app-glass {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.app-card:hover .app-glass {
    box-shadow: 0 15px 35px rgba(0,0,0,0.8), inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.app-logo {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
}

.app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease;
}

.app-card:hover .app-logo img {
    transform: scale(1.08);
}

.app-title-area h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.app-category {
    font-size: 0.75rem;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.app-details {
    flex-grow: 1;
}

.app-details p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.beta-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--bounty-red);
    color: white;
    padding: 0.4rem 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.4);
    transform: rotate(45deg);
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.disclaimer-box {
    background: rgba(139, 0, 0, 0.1);
    border-left: 2px solid var(--bounty-red);
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.disclaimer-box strong {
    color: #ff6b6b;
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.invite-text {
    font-size: 0.85rem !important;
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 1.5rem !important;
}

.app-footer {
    margin-top: auto;
}

.launch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: var(--wood-dark);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--gold-accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.launch-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
    border-color: var(--gold-accent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Email Testing Form */
.testing-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input {
    flex-grow: 1;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.email-input:focus {
    border-color: var(--gold-accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

footer {
    padding: 4rem 0 2rem 0;
    text-align: center;
    z-index: 10;
    position: relative;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: fill 0.3s;
}

.social-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-accent);
    transform: translateY(-3px);
}

.social-btn:hover .social-icon {
    fill: var(--gold-accent);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 300;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .glow-text { font-size: 3.5rem; }
    .stats-section { flex-direction: column; gap: 2rem; }
}
