/* ==========================================================
   SpellClock Website
   Main Stylesheet
   Version: 1.0
   ========================================================== */

/* ==========================================================
   CSS Variables
   ========================================================== */

:root {

    --color-background: #05070A;
    --color-surface: rgba(20, 25, 30, 0.72);
    --color-surface-solid: #11161C;

    --color-primary: #00E676;
    --color-primary-dark: #00C965;

    --color-secondary: #D4AF37;

    --color-text: #F4F7F8;
    --color-text-muted: #B9C3C9;

    --color-border: rgba(255, 255, 255, .08);

    --shadow-lg: 0 30px 80px rgba(0, 0, 0, .45);

    --glass-bg: rgba(255, 255, 255, .04);

    --glass-border: rgba(255, 255, 255, .08);

    --container: 1280px;

    --transition: .35s ease;
    --space-xs: .5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-3: 3rem;

}

/* ==========================================================
   Reset
   ========================================================== */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    background: var(--color-background);

    color: var(--color-text);

    font-family: "Montserrat", sans-serif;

    line-height: 1.7;

    overflow-x: hidden;

}

/* ==========================================================
   Typography
   ========================================================== */

h1,
h2,
h3,
h4 {

    font-family: "Cinzel", serif;

    line-height: 1.2;

    font-weight: 700;

}

h1 {

    font-size: clamp(3rem, 6vw, 5.5rem);

}

h2 {

    font-size: clamp(2rem, 4vw, 3.4rem);

}

h3 {

    font-size: 1.35rem;

}

p {

    color: var(--color-text-muted);

}

img {

    display: block;

    width: 100%;

}

a {

    color: inherit;

    text-decoration: none;

}

ul {

    list-style: none;

}

/* ==========================================================
   Layout
   ========================================================== */

.container {

    width: min(92%, var(--container));

    margin-inline: auto;

}

.section {

    padding: 8rem 0;

}

.section-dark {

    background: linear-gradient(180deg,
            rgba(255, 255, 255, .015),
            transparent);

}

.section-heading {

    text-align: center;

    max-width: 760px;

    margin-inline: auto;

    margin-bottom: 5rem;

}

.section-tag {

    display: inline-block;

    color: var(--color-primary);

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 1rem;

    font-size: .85rem;

}

/* ==========================================================
   Background
   ========================================================== */

.background {

    position: fixed;

    inset: 0;

    z-index: -2;

    overflow: hidden;

}

.stars {

    position: absolute;

    inset: 0;

    opacity: .35;

    background-image:
        radial-gradient(circle, #ffffff 1px, transparent 1px);

    background-size: 70px 70px;

}

.nebula {

    position: absolute;

    width: 900px;
    height: 900px;

    border-radius: 50%;

    left: 50%;
    top: -250px;

    transform: translateX(-50%);

    background:
        radial-gradient(circle,
            rgba(0, 230, 118, .22),
            transparent 70%);

    filter: blur(60px);

}

.ambient-glow {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(circle at center,
            rgba(212, 175, 55, .08),
            transparent 65%);

}

/* ==========================================================
   Loading Screen
   ========================================================== */

#loading-screen {

    position: fixed;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 1.5rem;

    background: #05070A;

    z-index: 9999;

    transition: .6s;

}

.loading-logo {

    width: 120px;

}

.loading-spinner {

    width: 46px;
    height: 46px;

    border-radius: 50%;

    border: 3px solid rgba(255, 255, 255, .15);

    border-top-color: var(--color-primary);

    animation: spin 1s linear infinite;

}

/* ==========================================================
   Navigation
   ========================================================== */

.navbar {

    position: fixed;

    top: 0;

    width: 100%;

    backdrop-filter: blur(18px);

    background: rgba(8, 10, 14, .55);

    border-bottom: 1px solid rgba(255, 255, 255, .05);

    z-index: 500;

}

.navbar .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 82px;

}

.brand {

    width: 210px;

}

.nav-links {

    display: flex;

    gap: var(--space-md);

    align-items: center;

}

.nav-links a {

    transition: var(--transition);

    color: #EAEAEA;

}

.nav-links a:hover {

    color: var(--color-primary);

}

.download-button {

    padding: .9rem 1.4rem;

    border-radius: 999px;

    background: var(--color-primary);

    color: #676867;

    font-weight: 700;

}

.mobile-menu-toggle {

    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 1.7rem;

    cursor: pointer;

}

/* ==========================================================
   Hero
   ========================================================== */

#hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

}

.hero-image {
    transition: transform .2s linear;
}

.hero-grid {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 5rem;

}

.hero-content {

    position: relative;

    z-index: 10;

}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: .6rem;

    padding: .65rem 1.25rem;

    margin-bottom: var(--space-md);

    border-radius: 999px;

    background: rgba(0, 230, 118, .10);

    border: 1px solid rgba(0, 230, 118, .30);

    color: var(--color-primary);

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    font-size: .8rem;

}

.hero-content h1 {

    margin-bottom: 1.5rem;

}

.hero-content p {

    max-width: 640px;

    font-size: 1.15rem;

    margin-bottom: 2.5rem;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 1rem;

}

.hero-visual {

    display: flex;

    justify-content: center;

    align-items: center;

}

#crystal-container {

    position: relative;

    width: 520px;

    aspect-ratio: 1;

    display: flex;

    justify-content: center;

    align-items: center;

}

.crystal-placeholder {

    width: 560px;

    transition: .45s ease;

    filter:
        drop-shadow(0 0 20px rgba(0, 230, 118, .35)) drop-shadow(0 0 50px rgba(0, 230, 118, .20));

}

.crystal-placeholder:hover {

    transform: scale(1.04);

    filter:
        drop-shadow(0 0 35px rgba(0, 230, 118, .55)) drop-shadow(0 0 90px rgba(212, 175, 55, .35));

}

.scroll-indicator {

    margin-top: 5rem;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: .8rem;

}

.scroll-indicator span {

    width: 2px;

    height: 60px;

    background: linear-gradient(transparent,
            var(--color-primary));

}

/* ==========================================================
   Buttons
   ========================================================== */

.btn {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    gap: .6rem;

    min-width: 210px;

    padding: 1rem 1.8rem;

    border-radius: 999px;

    font-weight: 700;

    transition: var(--transition);

    cursor: pointer;

}

.btn-primary {

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    color: #04120A;

}

.btn-primary:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(0, 230, 118, .35);

}

.btn-secondary {

    border: 1px solid rgba(255, 255, 255, .12);

    background: rgba(255, 255, 255, .03);

}

.btn-secondary:hover {

    border-color: var(--color-primary);

    color: var(--color-primary);

}

.disabled {

    pointer-events: none;

    opacity: .65;

}

/* ==========================================================
   Glass Components
   ========================================================== */

.glass-card,
.feature-card,
.game-card,
.tech-card,
.showcase-card,
.stat-card,
.download-card,
.promo-card {

    background: var(--glass-bg);

    border: 1px solid var(--glass-border);

    backdrop-filter: blur(18px);

    border-radius: 24px;

    transition: var(--transition);

    box-shadow: var(--shadow-lg);

}

.glass-card:hover,
.feature-card:hover,
.game-card:hover,
.tech-card:hover,
.showcase-card:hover {

    transform: translateY(-8px);

    border-color: rgba(0, 230, 118, .35);

}

/* ==========================================================
   Why SpellClock
   ========================================================== */

.why-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: var(--space-md);

}

.glass-card {

    padding: 2.5rem;

    text-align: center;

}

.card-icon {

    width: 72px;

    height: 72px;

    margin: 0 auto 1.5rem;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: rgba(0, 230, 118, .10);

    color: var(--color-primary);

    font-size: 1.8rem;

}

/* ==========================================================
   Statistics
   ========================================================== */

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1.5rem;

}

.stat-card {

    padding: var(--space-md);

    text-align: center;

}

.stat-card h3 {

    color: var(--color-secondary);

    font-size: 2.4rem;

    margin-bottom: .5rem;

}

/* ==========================================================
   Features
   ========================================================== */

.features-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: var(--space-md);

}

.feature-card {

    padding: 2.5rem;

}

.feature-icon {

    width: 68px;

    height: 68px;

    margin-bottom: var(--space-md);

    display: grid;

    place-items: center;

    border-radius: 20px;

    background: rgba(0, 230, 118, .08);

    color: var(--color-primary);

    font-size: 1.6rem;

}

.feature-card h3 {

    margin-bottom: 1rem;

}

/* ==========================================================
   Decorative Divider
   ========================================================== */

.section+.section {

    position: relative;

}

.section+.section::before {

    content: "";

    position: absolute;

    top: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 160px;

    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(0, 230, 118, .35),
            transparent);

}

/* ==========================================================
   Supported Games
   ========================================================== */

.games-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: var(--space-md);

}

.game-card {

    overflow: hidden;

    display: flex;

    flex-direction: column;

}

.game-banner {

    aspect-ratio: 16/9;

    overflow: hidden;

    background: #111;

}

.game-banner img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .6s ease;

}

.game-card:hover .game-banner img {

    transform: scale(1.08);

}

.game-content {

    padding: var(--space-md);

}

.game-content h3 {

    margin-bottom: 1rem;

}

.game-features {

    margin-top: 1.5rem;

}

.game-features li {

    color: var(--color-text-muted);

    margin-bottom: .75rem;

}

/* ==========================================================
   Timeline
   ========================================================== */

.timeline {

    position: relative;

    max-width: 900px;

    margin: 0 auto;

    padding-left: var(--space-md);

}

.timeline::before {

    content: "";

    position: absolute;

    left: 24px;

    top: 0;

    bottom: 0;

    width: 2px;

    background:
        linear-gradient(var(--color-primary),
            transparent);

}

.timeline-item {

    position: relative;

    display: flex;

    gap: var(--space-md);

    margin-bottom: 3rem;

}

.timeline-number {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-dark));

    color: #04120A;

    font-weight: 700;

}

.timeline-content {

    padding: 1.5rem var(--space-md);

    border-radius: 20px;

    background: var(--glass-bg);

    border: 1px solid var(--glass-border);

    flex: 1;

}

/* ==========================================================
   Screenshot Showcase
   ========================================================== */

.showcase-layout {

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    gap: var(--space-md);

    align-items: center;

}

.showcase-column {

    display: flex;

    flex-direction: column;

    gap: var(--space-md);

}

.showcase-card {

    padding: 1.5rem;

    text-align: center;

}

.showcase-card img {

    border-radius: 16px;
    margin-bottom: 1rem;


}

.phone-preview {

    display: flex;

    justify-content: center;

    align-items: center;

}

.phone-preview img {

    width: 320px;
    max-width: 100%;
}

/* ==========================================================
   Technology
   ========================================================== */

.technology-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: var(--space-md);

}

.tech-card {

    padding: var(--space-md);

    text-align: center;

}

.tech-logo {

    width: 72px;

    height: 72px;

    margin: 0 auto 1.5rem;

    display: flex;

    justify-content: center;

    align-items: center;

}

.tech-logo img {

    width: 56px;

    height: 56px;

    object-fit: contain;

}

.tech-card h3 {

    margin-bottom: 1rem;

}

/* ==========================================================
   Promotional Banner
   ========================================================== */

.promo-banner {

    padding: 4rem 0 7rem;

}

.promo-card {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 3rem;

    padding: 3rem;

    overflow: hidden;

    position: relative;

}

.promo-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(circle at right,
            rgba(0, 230, 118, .10),
            transparent 60%);

    pointer-events: none;

}

.promo-content {

    position: relative;

    z-index: 1;

}

.promo-content h2 {

    margin: 1rem 0;

}

.promo-action {

    position: relative;

    z-index: 1;

}

/* ==========================================================
   Generic Card Hover Glow
   ========================================================== */

.feature-card:hover,
.game-card:hover,
.tech-card:hover,
.showcase-card:hover,
.glass-card:hover {

    box-shadow:
        0 20px 60px rgba(0, 230, 118, .18);

}

/* ==========================================================
   Images
   ========================================================== */

img {

    user-select: none;

    -webkit-user-drag: none;

}

/* ==========================================================
   Selection
   ========================================================== */

::selection {

    background: var(--color-primary);

    color: #04120A;

}

/* ==========================================================
   FAQ
   ========================================================== */

.faq-list {

    max-width: 900px;

    margin: 0 auto;

}

.faq-item {

    margin-bottom: 1.25rem;

    border: 1px solid var(--glass-border);

    border-radius: 18px;

    background: var(--glass-bg);

    overflow: hidden;

    backdrop-filter: blur(18px);

}

.faq-item summary {

    list-style: none;

    cursor: pointer;

    padding: 1.5rem var(--space-md);

    font-weight: 600;

    position: relative;

    transition: var(--transition);

}

.faq-item summary::-webkit-details-marker {

    display: none;

}

.faq-item summary::after {

    content: "+";

    position: absolute;

    right: var(--space-md);

    top: 50%;

    transform: translateY(-50%);

    font-size: 1.5rem;

    color: var(--color-primary);

    transition: .3s ease;

}

.faq-item[open] summary::after {

    transform:
        translateY(-50%) rotate(45deg);

}

.faq-item summary:hover {

    color: var(--color-primary);

}

.faq-item p {

    padding: 0 var(--space-md) var(--space-md);

}

/* ==========================================================
   Download Section
   ========================================================== */

.download-card {

    max-width: 760px;

    margin: 0 auto;

    text-align: center;

    padding: 4rem;

}

.download-logo {

    width: 140px;

    margin: 0 auto var(--space-md);

}

.download-card h2 {

    margin-bottom: 1rem;

}

.download-card p {

    max-width: 560px;

    margin: 0 auto var(--space-md);

}

.download-buttons {

    display: flex;

    justify-content: center;

    gap: 1rem;

    flex-wrap: wrap;

}

/* ==========================================================
   Footer
   ========================================================== */

footer {

    padding: 5rem 0 var(--space-md);

    border-top: 1px solid rgba(255, 255, 255, .06);

    background: #040506;

}

.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 3rem;

    margin-bottom: 3rem;

}

.footer-logo {

    width: 220px;

    margin-bottom: 1rem;

}

footer h4 {

    margin-bottom: 1rem;

    color: var(--color-secondary);

}

footer li {

    margin-bottom: .8rem;

}

footer a {

    color: var(--color-text-muted);

    transition: var(--transition);

}

footer a:hover {

    color: var(--color-primary);

}

.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, .05);

    padding-top: var(--space-md);

    text-align: center;

}

/* ==========================================================
   Utility Classes
   ========================================================== */

.text-center {

    text-align: center;

}

.mt-1 {

    margin-top: 1rem;

}

.mt-2 {

    margin-top: var(--space-md);

}

.mt-3 {

    margin-top: 3rem;

}

.mb-1 {

    margin-bottom: 1rem;

}

.mb-2 {

    margin-bottom: var(--space-md);

}

.mb-3 {

    margin-bottom: 3rem;

}

.hidden {

    display: none !important;

}

/* ==========================================================
   Accessibility
   ========================================================== */

:focus-visible {

    outline: 3px solid var(--color-primary);

    outline-offset: 4px;

}

@media (prefers-reduced-motion:reduce) {

    * {

        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;

    }

}

/* ==========================================================
   Scrollbar
   ========================================================== */

::-webkit-scrollbar {

    width: 12px;

}

::-webkit-scrollbar-track {

    background: #05070A;

}

::-webkit-scrollbar-thumb {

    background:
        linear-gradient(var(--color-primary),
            var(--color-primary-dark));

    border-radius: 999px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--color-secondary);

}

/* ==========================================================
   Print
   ========================================================== */

@media print {

    .navbar,
    .background,
    .promo-banner,
    .download-buttons,
    #loading-screen {

        display: none !important;

    }

    body {

        background: white;

        color: black;

    }

    .section {

        padding: 1rem 0;

    }

}

/* ==========================================================
   End of File
   SpellClock Website v1.0
   ========================================================== */

/* ==========================================================
   Particle Canvas
   ========================================================== */

#particle-canvas {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100%;

    pointer-events: none;

    z-index: -2;

}

.background {

    z-index: -3;

}

#particle-canvas

.background

body

html