@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #090711;
    --panel: #14101f;
    --panel-light: #1c162a;
    --border: #302440;
    --purple: #a879ff;
    --purple-dark: #7946dc;
    --text: #ffffff;
    --muted: #a39ab1;
    --green: #4ade80;
    --shadow: 0 18px 50px #00000045;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 15% 5%, #27143f55, transparent 35%),
        radial-gradient(ellipse at 90% 40%, #24134433, transparent 35%),
        var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

button {
    font-family: inherit;
    cursor: pointer;
    transition: .2s ease;
}

button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* HEADER */

.header {
    min-height: 76px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: #0c0914ef;
    backdrop-filter: blur(18px);
    position: relative;
    z-index: 10;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #c29aff, #7642e8);
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: 900;
    box-shadow: 0 5px 20px #995bff55;
}

.logo h2 {
    font-size: 19px;
    font-weight: 900;
}

.logo h2 span,
footer h3 span {
    color: var(--purple);
}

.logo small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 2px;
    margin-top: 3px;
}

.header-right {
    color: #c6b9d9;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.status-dot {
    height: 8px;
    width: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--green);
}

/* MAIN CONTAINER */

.container {
    max-width: 1500px;
    margin: auto;
    padding: 38px 4%;
}

.hero {
    margin-bottom: 27px;
}

.badge {
    display: inline-block;
    color: var(--purple);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    background: #a879ff15;
    border: 1px solid #a879ff35;
    padding: 7px 11px;
    border-radius: 20px;
}

.hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    margin: 15px 0 10px;
    font-weight: 900;
    letter-spacing: -1.8px;
}

.hero h1 span {
    color: var(--purple);
}

.hero p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 650px;
}

/* INSTRUCTIONS */

.instructions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px;
    border: 1px solid #49336a;
    background: linear-gradient(110deg, #21152f, #171020);
    border-radius: 14px;
    margin-bottom: 22px;
    box-shadow: 0 8px 25px #00000020;
}

.instruction-number {
    min-width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: #34234d;
    color: var(--purple);
    border-radius: 11px;
    font-weight: 900;
}

.instructions h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.instructions p {
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
}

/* MAIN WORKSPACE */

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
    gap: 22px;
    align-items: start;
}

/* MAIN PANELS */

.cube-section,
.side-panel,
.result-panel,
.solver-panel,
.notation {
    background: linear-gradient(145deg, #191326, #110e1a);
    border: 1px solid var(--border);
    border-radius: 19px;
    box-shadow: var(--shadow);
}

/* CUBE AREA */

.cube-section {
    padding: 23px;
    min-width: 0;
    overflow: hidden;
}

.cube-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cube-topbar h3 {
    font-size: 16px;
    font-weight: 800;
}

.cube-topbar p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 6px;
}

.live-badge {
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    background: #4ade8012;
    border: 1px solid #4ade8030;
    padding: 7px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

#cube-container {
    height: 550px;
    width: 100%;
    position: relative;
    overflow: hidden;
    touch-action: none;
    border-radius: 16px;
    margin: 15px 0;
    background:
        radial-gradient(ellipse at center, #38245166 0%, #171021 48%, #100c18 100%);
    border: 1px solid #ffffff0d;
}

#cube-container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(#ffffff06 1px, transparent 1px),
        linear-gradient(90deg, #ffffff06 1px, transparent 1px);
    background-size: 35px 35px;
    mask-image: radial-gradient(ellipse, black, transparent 75%);
}

#cube-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

#loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--purple);
    font-size: 13px;
    z-index: 2;
}

/* VIEWER CONTROLS */

.viewer-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.viewer-controls button {
    padding: 11px 17px;
    background: #251b35;
    color: white;
    border: 1px solid #49345f;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
}

.viewer-controls button:hover {
    background: #38264f;
    border-color: var(--purple);
    transform: translateY(-2px);
}

/* CUBE INFORMATION */

.cube-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    margin-top: 23px;
    padding-top: 19px;
    gap: 10px;
}

.cube-info div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cube-info small {
    font-size: 9px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cube-info strong {
    font-size: 14px;
    font-weight: 800;
}

/* RIGHT PANEL */

.side-panel {
    padding: 21px;
    min-width: 0;
    position: sticky;
    top: 15px;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #594071 transparent;
}

.side-panel::-webkit-scrollbar {
    width: 5px;
}

.side-panel::-webkit-scrollbar-thumb {
    background: #594071;
    border-radius: 10px;
}

/* PANEL HEADING */

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
}

.panel-heading h3 {
    font-size: 16px;
    font-weight: 800;
}

.panel-heading span {
    font-size: 9px;
    color: var(--purple);
    background: #281c3b;
    border: 1px solid #51366e;
    padding: 7px 10px;
    border-radius: 7px;
    white-space: nowrap;
}

.small-help {
    font-size: 11px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 17px;
}

/* COLOR PALETTE */

.color-palette {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.color-option {
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid var(--border);
    background: #21182d;
    color: white;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.color-option:hover {
    border-color: #7955a5;
    background: #302044;
    transform: translateY(-2px);
}

.color-option.active {
    border-color: var(--purple);
    background: #38264f;
    box-shadow: 0 0 0 2px #a879ff20;
}

.color-circle {
    height: 23px;
    width: 23px;
    border-radius: 50%;
    border: 2px solid #ffffff66;
    flex-shrink: 0;
    box-shadow: 0 2px 7px #00000050;
}

.white { background: #ffffff; }
.yellow { background: #ffeb00; }
.green { background: #16c96b; }
.blue { background: #2676ff; }
.red { background: #ff3030; }
.orange { background: #ff8c00; }

/* IMPORTANT NOTE */

.important-note {
    padding: 14px;
    background: #21182d;
    border: 1px solid #49345f;
    border-radius: 11px;
    margin: 20px 0;
}

.important-note strong {
    color: var(--purple);
    font-size: 11px;
}

.important-note p {
    font-size: 10px;
    line-height: 1.8;
    color: var(--muted);
    margin-top: 7px;
}

/* ACTION BUTTONS */

.action-btn {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 11px;
    font-weight: 800;
    font-size: 11px;
    border: none;
    letter-spacing: .3px;
}

.action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.12);
}

.primary {
    background: #302044;
    border: 1px solid #8055b7;
    color: white;
}

.solve-button {
    background: linear-gradient(135deg, #a879ff, #7946dc);
    color: white;
    box-shadow: 0 7px 20px #7946dc35;
}

.secondary {
    background: #21182d;
    color: #ddd0ef;
    border: 1px solid var(--border);
}

/* RESULT PANEL */

.result-panel {
    padding: 19px;
    margin-top: 18px;
}

.result-panel h2,
.solver-panel h2 {
    font-size: 18px;
    margin-top: 8px;
}

.result-panel h3 {
    font-size: 18px;
    margin-top: 8px;
}

.result-panel p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 11px;
}

/* SOLVER PANEL */

.solver-panel {
    display: none;
    padding: 18px;
    margin-top: 18px;
}

.solver-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solver-header h2 {
    font-size: 17px;
}

.solver-header p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 8px;
    line-height: 1.6;
}

.solution-badge {
    color: var(--green);
    font-size: 9px;
    background: #163321;
    border: 1px solid #28613d;
    border-radius: 8px;
    padding: 9px;
    height: fit-content;
    white-space: nowrap;
}

/* SOLUTION PROGRESS */

.progress-track {
    height: 7px;
    border-radius: 10px;
    background: #30253b;
    overflow: hidden;
    margin: 20px 0;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #a879ff, #4ade80);
    transition: width .3s ease;
}

/* CURRENT STEP */

.current-step {
    padding: 19px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, #21182e, #191222);
    border-radius: 13px;
}

#step-number {
    color: var(--purple);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

#step-move {
    font-size: 58px;
    color: white;
    margin: 12px 0;
    font-weight: 900;
    line-height: 1.1;
}

.current-step h3 {
    font-size: 16px;
}

.current-step > p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
    line-height: 1.8;
}

/* MOVE VISUAL */

.move-visual {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 14px;
    background: #281d39;
    border: 1px solid #49345f;
    border-radius: 10px;
}

.move-arrow {
    font-size: 29px;
    color: var(--purple);
}

.move-visual strong,
.move-visual small {
    display: block;
}

.move-visual strong {
    font-size: 12px;
}

.move-visual small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 5px;
    line-height: 1.5;
}

/* SOLUTION CONTROLS */

.solution-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.solution-controls button {
    flex: 1;
    padding: 13px 8px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: white;
    background: #281d39;
    font-weight: 700;
    font-size: 11px;
}

.solution-controls button:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--purple);
}

#next-step {
    background: linear-gradient(135deg, #a879ff, #7946dc);
    border: none;
}

/* SOLUTION COMPLETE */

.solution-complete {
    display: none;
    text-align: center;
    padding: 28px 10px;
}

.solution-complete h2 {
    color: var(--green);
}

.solution-complete p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.7;
}

/* MOVE NOTATION */

.notation {
    padding: 20px;
    margin-top: 20px;
}

.notation h3 {
    font-size: 16px;
    margin-bottom: 17px;
}

.notation-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 9px;
}

.notation-grid div {
    background: #21182d;
    border: 1px solid #302440;
    border-radius: 9px;
    padding: 13px 5px;
    text-align: center;
}

.notation-grid strong {
    display: block;
    color: var(--purple);
    font-size: 19px;
}

.notation-grid span {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px;
}

.notation > p {
    margin-top: 17px;
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
}

/* FOOTER */

footer {
    text-align: center;
    padding: 40px 10px;
    color: var(--muted);
}

footer h3 {
    color: white;
    margin-bottom: 10px;
}

footer p {
    font-size: 12px;
    margin-bottom: 12px;
}

footer small {
    font-size: 10px;
}

/* TABLET */

@media (max-width: 1000px) {
    .workspace {
        grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
        gap: 14px;
    }

    .cube-section,
    .side-panel {
        padding: 16px;
    }

    #cube-container {
        height: 450px;
    }

    .color-palette {
        gap: 7px;
    }

    .color-option {
        padding: 8px;
        font-size: 10px;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .header {
        min-height: 68px;
        padding: 0 16px;
    }

    .logo-icon {
        width: 39px;
        height: 39px;
    }

    .logo h2 {
        font-size: 17px;
    }

    .container {
        padding: 25px 13px;
    }

    .hero {
        margin-bottom: 21px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 12px;
    }

    .instructions {
        align-items: flex-start;
        padding: 13px;
        gap: 11px;
    }

    .instruction-number {
        min-width: 36px;
        height: 36px;
    }

    .workspace {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cube-section {
        order: 1;
        padding: 13px;
    }

    .side-panel {
        order: 2;
        position: relative;
        top: auto;
        max-height: none;
        overflow: visible;
        padding: 16px;
    }

    #cube-container {
        height: 390px;
        margin: 12px 0;
    }

    .cube-topbar h3 {
        font-size: 14px;
    }

    .cube-info {
        margin-top: 18px;
        padding-top: 15px;
    }

    .cube-info small {
        font-size: 8px;
    }

    .cube-info strong {
        font-size: 12px;
    }

    .notation-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .notation {
        padding: 16px;
        margin-top: 15px;
    }

    .notation-grid div {
        padding: 12px 5px;
    }

    .result-panel,
    .solver-panel {
        padding: 15px;
    }

    footer {
        padding: 30px 10px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    #cube-container {
        height: 330px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .viewer-controls button {
        padding: 10px 12px;
        font-size: 10px;
    }

    .color-option {
        font-size: 10px;
    }

    #step-move {
        font-size: 48px;
    }
}
/* THEME SELECTOR */
.theme-selector {
    margin-top: 15px;
    background: var(--panel-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
}

.theme-selector small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.theme-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.theme-btn {
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    background: #251b35;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: 0.2s;
}

.theme-btn:hover {
    border-color: var(--purple);
    transform: translateY(-1px);
}

.theme-btn.active {
    background: linear-gradient(135deg, #a879ff, #7946dc);
    border-color: var(--purple);
    box-shadow: 0 4px 12px #7946dc35;
}
.shape-btn {
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    background: #251b35;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: 0.2s;
    cursor: pointer;
}

.shape-btn:hover {
    border-color: var(--purple);
    transform: translateY(-1px);
}

.shape-btn.active {
    background: linear-gradient(135deg, #4ade80, #16c96b);
    color: #0c0914;
    border-color: #4ade80;
    font-weight: 800;
}
/* CAMERA SCANNER MODAL */
.scanner-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 16px;
}

.scanner-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    padding: 20px;
    text-align: center;
}

.scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.scanner-header button {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 18px;
}

.camera-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

#camera-feed {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scan-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    padding: 12px;
    pointer-events: none;
}

.scan-grid div {
    border: 2px dashed rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

.scan-hint {
    font-size: 11px;
    color: var(--muted);
    margin: 12px 0;
}
/* ========================================
   FOOTER & LEGAL LINKS STYLING
======================================== */
.site-footer {
    margin-top: 40px;
    padding: 24px 16px;
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.footer-links a {
    color: #a879ff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(168, 121, 255, 0.08);
    border: 1px solid rgba(168, 121, 255, 0.2);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    background: #7946dc;
    border-color: #a879ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(121, 70, 220, 0.35);
}

.site-footer .copyright {
    color: var(--muted, #8b859e);
    font-size: 12px;
    margin-top: 8px;
}
/* SEO CONTENT & FAQ STYLING */
.seo-content-section {
    max-width: 900px;
    margin: 40px auto 20px;
    padding: 28px;
    background: #161024;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: #d4d4d8;
    line-height: 1.7;
}

.seo-content-section h2 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 12px;
}

.seo-content-section h3 {
    color: var(--purple, #a879ff);
    font-size: 17px;
    margin: 20px 0 10px;
}

.seo-content-section ul {
    margin: 10px 0 20px 20px;
}

.seo-content-section li {
    margin-bottom: 6px;
    font-size: 14px;
}

.seo-content-section details {
    background: #1c142c;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    cursor: pointer;
}

.seo-content-section summary {
    font-weight: 700;
    color: #fff;
    outline: none;
}

.seo-content-section details p {
    margin-top: 8px;
    font-size: 13px;
    color: #a1a1aa;
}
/* ========================================
   COLLAPSIBLE GUIDE CARD STYLING
======================================== */
.guide-card-wrapper {
    background: #161024;
    border: 1px solid var(--border, #2e2448);
    border-radius: 14px;
    margin: 20px 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.guide-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    background: linear-gradient(90deg, rgba(168, 121, 255, 0.08), transparent);
    user-select: none;
    transition: background 0.2s;
}

.guide-toggle-header:hover {
    background: rgba(168, 121, 255, 0.15);
}

.guide-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-icon {
    font-size: 20px;
}

.guide-toggle-header h4 {
    margin: 0;
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

.guide-toggle-header small {
    color: var(--muted, #8b859e);
    font-size: 11px;
}

.guide-chevron {
    color: var(--purple, #a879ff);
    font-size: 13px;
    transition: transform 0.3s ease;
}

.guide-chevron.open {
    transform: rotate(180deg);
}

/* Hidden by default */
.guide-content-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0f0a1a;
    text-align: center;
}

.guide-content-drawer.open {
    max-height: 1200px;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-image-preview {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
/* ========================================
   SOCIAL LINKS STYLING
======================================== */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted, #8b859e);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    color: #ffffff;
    background: rgba(168, 121, 255, 0.15);
    border-color: #a879ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 121, 255, 0.25);
}

/* ========================================
   COOKIE CONSENT BANNER STYLING
======================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 820px;
    background: rgba(18, 12, 30, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 121, 255, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 99999;
    animation: slideUpFade 0.35s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cookie-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #d4d4d8;
}

.cookie-content a {
    color: #a879ff;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #a879ff, #7946dc);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(121, 70, 220, 0.35);
}

.cookie-btn.accept:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.cookie-btn.decline {
    background: rgba(255, 255, 255, 0.06);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Mobile responsive */
@media (max-width: 650px) {
    .cookie-content {
        flex-direction: column;
        text-align: left;
    }
    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

