/* Fonts & Variables */
:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #d4af37;
    /* Metallic Gold */
    --accent-secondary: #bf00ff;
    /* Neon Purple */
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Playfair Display', serif;
    --transition: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 18px;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {

    .cursor,
    .cursor-follower {
        display: none;
    }

    * {
        cursor: auto !important;
    }
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--text-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 2147483647;
    /* Max z-index to ensure visibility */
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 2147483646;
    /* Just below the dot */
    transition: transform 0.3s ease-out;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.header-profile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 101;
    /* Above logo and nav if they overlap */
}

.header-profile-pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    cursor: pointer !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    opacity: 1;
}

.header-profile-pic:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.header-profile-pic.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.nav-link {
    margin-left: 2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    position: relative;
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #2e003e 0%, #000000 80%);
    /* Purple Gradient */
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: conic-gradient(from 180deg at 50% 50%, #000000 0deg, var(--accent-secondary) 90deg, #000000 180deg);
    filter: blur(120px);
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-greeting {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
    color: #cccccc;
}

.hero-name {
    font-size: 7vw;
    line-height: 1;
    margin-bottom: 2rem;
    position: relative;
    color: var(--text-color);
    font-weight: 700;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-secondary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent-color);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(14px, 9999px, 86px, 0);
    }

    20% {
        clip: rect(54px, 9999px, 18px, 0);
    }

    40% {
        clip: rect(21px, 9999px, 86px, 0);
    }

    60% {
        clip: rect(98px, 9999px, 15px, 0);
    }

    80% {
        clip: rect(65px, 9999px, 5px, 0);
    }

    100% {
        clip: rect(32px, 9999px, 64px, 0);
    }
}

.hero-role {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--accent-color);
    opacity: 0;
    animation: slideUp 1s forwards 1s;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.7;
    font-family: 'Playfair Display', serif;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--text-color);
}

/* Section Common */
section {
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
        min-height: auto;
        /* Allow content to dictate height on mobile */
    }

    .hero {
        min-height: 100vh;
        /* Keep hero full height */
    }
}

.container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 5rem;
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text .lead {
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.1rem;
    color: #bbbbbb;
}

.geometric-shape {
    width: 400px;
    height: 400px;
    border: 1px solid var(--accent-color);
    transform: rotate(45deg);
    position: relative;
    margin: 0 auto;
}

.geometric-shape::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--accent-secondary);
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
    width: 100%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.year {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-secondary);
    width: 45%;
    text-align: center;
    opacity: 0.5;
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Contact Form */
.fashion-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
}

.input-group {
    position: relative;
    flex: 1;
}

.input-group.full-width {
    width: 100%;
}

input,
textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-color);
    padding: 15px 0;
    font-family: var(--font-body);
    font-size: 1.3rem;
    outline: none;
}

textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: 0.3s ease;
    font-size: 1.1rem;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -25px;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: 0.4s ease;
}

.input-group input:focus~.underline,
.input-group textarea:focus~.underline {
    width: 100%;
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--text-color);
    padding: 1.5rem 4rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.submit-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.form-feedback {
    margin-top: 2rem;
    text-align: center;
    color: var(--accent-color);
}

.hidden {
    display: none;
}

.footer-links {
    margin-top: 6rem;
    text-align: center;
}

.footer-email {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border-bottom: 1px solid transparent;
}

.footer-email:hover {
    border-color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-name {
        font-size: 15vw;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline-content {
        width: 100%;
    }

    .year {
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    /* Additional Mobile Fixes */
    .header {
        padding: 1.5rem 5%;
        background: rgba(5, 5, 5, 0.9);
        /* Add background for readability */
        backdrop-filter: blur(10px);
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-link {
        margin-left: 1rem;
        font-size: 0.7rem;
    }

    .hero-name {
        font-size: 13vw;
        /* Slightly smaller to ensure fit */
        word-wrap: break-word;
    }

    .hero-greeting {
        font-size: 1.2rem;
    }

    .scroll-indicator {
        bottom: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .about-text .lead {
        font-size: 1.8rem;
    }

    .geometric-shape {
        width: 250px;
        height: 250px;
        margin-top: 3rem;
    }

    .form-row {
        gap: 2rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1.2rem;
        font-size: 1rem;
    }
}

/* Vault Section */
.vault-interface {
    margin-top: 4rem;
}

.vault-input-area {
    margin-bottom: 4rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
}

.vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.vault-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Gold border low opacity */
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vault-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(191, 0, 255, 0.15);
    /* Purple glow */
    border-color: var(--accent-color);
}

.vault-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-secondary);
}

.vault-card h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.vault-card p {
    font-family: monospace;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    word-break: break-all;
}

.vault-card .delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
}

/* Cloud Drive Section */
.cloud-toolbar {
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.cloud-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cloud-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.6);
}

.crumb {
    cursor: pointer;
    transition: color 0.2s;
}

.crumb:hover {
    color: var(--accent-color);
}

.crumb::after {
    content: '/';
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.crumb:last-child {
    color: #fff;
    cursor: default;
}

.crumb:last-child::after {
    display: none;
}

.cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 2rem;
}

.cloud-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.5s ease backwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cloud-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cloud-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.cloud-item[data-type="folder"] .cloud-icon {
    color: var(--accent-color);
}

.cloud-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-all;
}

/* Admin Trigger & Modal */
.admin-trigger {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
}

.admin-trigger:hover {
    color: var(--accent-secondary);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(191, 0, 255, 0.1);
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    color: var(--accent-secondary);
    margin-bottom: 2rem;
}

.modal-content input {
    width: 100%;
    padding: 1rem;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.modal-actions button {
    flex: 1;
    padding: 1rem;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.modal-actions button:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.hidden {
    display: none !important;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.toast-notification.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.4rem;
}

.vault-card .delete-btn:hover {
    color: #ff4444;
}

.vault-btn {
    margin-top: 2rem;
    width: auto;
    padding: 1rem 3rem;
}

/* Note Editor (Fullscreen) */
.note-editor {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border: none !important;
    border-radius: 0 !important;
    top: 0;
    left: 0;
    margin: 0;
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #050505 !important;
    /* Deep black bg */
    position: fixed;
    /* Ensure it covers everything */
    z-index: 20000;
    /* Above everything */
}

.note-title-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #fff;
    font-size: 2.5rem;
    /* Larger */
    font-family: var(--font-heading);
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.note-textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #e0e0e0;
    padding: 2rem;
    font-family: monospace;
    font-size: 1.1rem;
    resize: none;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.note-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

.note-editor .modal-actions {
    justify-content: flex-end;
}

.note-editor .modal-actions button {
    flex: 0 0 auto;
    width: auto;
    padding: 1rem 3rem;
}

/* Time Table Modal Refined */
.time-table-modal {
    width: 90vw;
    max-width: 600px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.time-table-modal.view-mode {
    width: 98vw;
    height: 98vh;
    max-width: none;
    padding: 1rem;
}

.close-cross {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.close-cross:hover {
    color: red;
}

.tt-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.full-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.2rem;
    padding: 1.5rem;
}

.delete-action {
    border-color: #ff4444;
    color: #ff4444;
    margin-top: 1rem;
}

.delete-action:hover {
    background: rgba(255, 68, 68, 0.1);
}

.tt-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tt-view .tt-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    /* Allow scroll if super huge, or strict contain */
    border: none;
    background: black;
}

/* Ensure controls are hidden properly */
.hidden {
    display: none !important;
}

/* ===== LIKES COUNTER IN HEADER ===== */
.likes-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.likes-counter:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

.likes-icon {
    font-size: 1.2rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

#likesCount {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* ===== FEEDBACK SECTION ===== */
.feedback-section {
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.feedback-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.feedback-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-style: italic;
}

.like-feedback-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.like-box,
.feedback-box {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.like-box:hover,
.feedback-box:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.like-button {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.like-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.like-button:hover::before {
    width: 300px;
    height: 300px;
}

.like-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.like-button.liked {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.2));
    border-color: #ff4444;
    color: #ff4444;
}

.like-heart {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.like-text {
    position: relative;
    z-index: 1;
}

.like-status {
    margin-top: 1rem;
    text-align: center;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-style: italic;
}

.feedback-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.feedback-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.feedback-submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feedback-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.5s;
}

.feedback-submit-btn:hover::before {
    left: 100%;
}

.feedback-submit-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.feedback-status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
}

.feedback-status.success {
    color: #4CAF50;
}

.feedback-status.error {
    color: #ff4444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .like-feedback-container {
        grid-template-columns: 1fr;
    }

    .likes-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ============================================ */
/* SEARCH BAR STYLES */
/* ============================================ */

.header-search {
    position: relative;
    margin: 0 1rem;
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    width: 250px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    width: 300px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--accent-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-icon {
    font-size: 1.5rem;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.search-result-type {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ============================================ */
/* AI CHAT BUTTON */
/* ============================================ */

.ai-chat-trigger {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(191, 0, 255, 0.3);
    margin: 0 1rem;
}

.ai-chat-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(191, 0, 255, 0.5);
}

.ai-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ============================================ */
/* AI CHAT MODAL */
/* ============================================ */

.ai-chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.ai-chat-container {
    width: 100%;
    max-width: 1200px;
    height: 80vh;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Sidebar */
.ai-chat-sidebar {
    background: rgba(5, 5, 5, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.ai-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-sidebar-header h3 {
    font-size: 1rem;
    color: var(--accent-color);
}

.new-chat-btn {
    background: var(--accent-secondary);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-chat-btn:hover {
    transform: rotate(90deg);
    background: var(--accent-color);
}

.conversation-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.conversation-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.conversation-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-color);
}

.conversation-item.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-color);
}

.conversation-title {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.delete-conversation {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.2s ease;
}

.conversation-item:hover .delete-conversation {
    opacity: 1;
}

.delete-conversation:hover {
    color: #ff4444;
}

/* Main Chat Area */
.ai-chat-main {
    display: flex;
    flex-direction: column;
}

.ai-chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-header-info h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.ai-provider-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    background: rgba(191, 0, 255, 0.2);
    border: 1px solid var(--accent-secondary);
    border-radius: 12px;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-provider-badge.configured {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    color: #4CAF50;
}

.ai-header-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* Settings Panel */
.ai-settings-panel {
    padding: 1.5rem;
    background: rgba(191, 0, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-settings-panel h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.settings-group {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.settings-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.settings-group label:hover {
    color: var(--text-color);
}

.settings-group input[type="radio"] {
    width: auto;
    accent-color: var(--accent-secondary);
}

.ai-settings-panel .input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ai-settings-panel input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--text-color);
    font-family: monospace;
}

.save-btn {
    background: var(--accent-secondary);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.save-btn:hover {
    background: var(--accent-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.settings-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.settings-note a {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Messages Area */
.ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.welcome-message {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.welcome-message h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.message {
    display: flex;
    gap: 1rem;
    max-width: 80%;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.message.user .message-avatar {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
}

.message.assistant .message-avatar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.message.user .message-content {
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.2), rgba(212, 175, 55, 0.2));
    border-color: var(--accent-color);
}

.message-content p {
    margin-bottom: 0.5rem;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

.typing-indicator {
    display: flex;
    gap: 0.3rem;
    padding: 1rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }
}

/* Input Area */
.ai-input-area {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.ai-input-area textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    resize: none;
    max-height: 150px;
    transition: all 0.3s ease;
}

.ai-input-area textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.send-btn {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.send-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 0, 255, 0.4);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-icon {
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-search {
        display: none;
        /* Hide search on mobile for space */
    }

    .ai-chat-trigger {
        width: 40px;
        height: 40px;
        margin: 0 0.5rem;
    }

    .ai-icon {
        font-size: 1.2rem;
    }

    .ai-chat-container {
        grid-template-columns: 1fr;
        height: 90vh;
    }

    .ai-chat-sidebar {
        display: none;
        /* Hide sidebar on mobile, can be toggled */
    }

    .ai-messages {
        padding: 1rem;
    }

    .message {
        max-width: 90%;
    }

    .ai-input-area {
        padding: 1rem;
    }

    .send-btn {
        padding: 1rem;
    }

    .send-btn span:first-child {
        display: none;
        /* Hide "Send" text on mobile */
    }
}

/* FORCE CURSOR VISIBILITY */
.cursor {
    z-index: 2147483647 !important;
    mix-blend-mode: normal !important;
    background: #fff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px var(--accent-color) !important;
}

.cursor-follower {
    z-index: 2147483646 !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Ensure body hides default cursor */
body,
html {
    cursor: none !important;
}

/* Ensure interactive elements don't show default cursor */
a,
button,
.ai-chat-trigger,
.search-result-item {
    cursor: none !important;
}


/* Login Overlay Styles */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    /* Above everything */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.login-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.login-card {
    width: 450px;
    max-width: 90%;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.1);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.login-overlay.active .login-card {
    transform: translateY(0);
}

.login-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.login-header p {
    color: #888;
    margin-bottom: 3rem;
}

.login-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.login-option-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer !important;
}

.login-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.login-option-btn.selected {
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.option-icon {
    font-size: 2.5rem;
}

.option-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}

.option-desc {
    font-size: 0.8rem;
    color: #666;
}

.admin-login-form {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.login-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.back-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    /* Standardize specific local override if needed */
    font-family: var(--font-heading);
    transition: 0.3s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.login-submit-btn {
    flex: 1;
    margin-top: 0;
    /* Override generic form style */
    padding: 1rem;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-color));
    border: none;
    color: #000;
    font-weight: 700;
}

.login-submit-btn:hover {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.login-footer {
    margin-top: 3rem;
    font-size: 0.7rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .login-options {
        flex-direction: column;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== GAME MODAL STYLES ===== */
.game-modal-content {
    background: #000 !important;
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 480px;
    /* Mobile width */
    max-height: 800px;
    background: #70c5ce;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

#gameCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.game-hud {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.hud-item {
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    backdrop-filter: blur(5px);
}

.game-login-box {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    width: 80%;
    max-width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(112, 197, 206, 0.2);
}

.game-login-box h3 {
    margin-top: 0;
    color: #4cc9f0;
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

.game-login-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: monospace;
}

.game-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.game-btn-primary {
    background: linear-gradient(90deg, #4cc9f0, #4361ee);
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.game-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 8px;
    color: #ccc;
    cursor: pointer;
}

.game-btn-primary:active {
    transform: scale(0.95);
}

/* Nav Play Button */
.game-btn {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-btn:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* === UTILITY === */
.hidden {
    display: none !important;
}

/* === CLOUD DRIVE UI === */
.cloud-toolbar {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.cloud-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cloud-btn:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.storage-info {
    margin-left: auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
    min-height: 200px;
}

.cloud-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: white;
}

.cloud-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-secondary);
    transform: translateY(-5px);
}

.cloud-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.cloud-name {
    font-size: 0.9rem;
    text-align: center;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.crumb {
    cursor: pointer;
    transition: color 0.2s;
}

.crumb:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.crumb:not(:last-child):after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-color));
    width: 0%;
    transition: width 0.3s ease;
}

/* Note Modal */
.note-textarea {
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: white;
    font-family: monospace;
    resize: vertical;
    margin-bottom: 1rem;
}

.note-title-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.note-title-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Calculator Section */
.calculator-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.calculator-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.calc-display {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    font-size: 3rem;
    padding: 1rem;
    text-align: right;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    white-space: nowrap;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.calc-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    padding: 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.calc-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.calc-btn.operator {
    color: var(--accent-color);
    font-weight: bold;
    background: rgba(212, 175, 55, 0.1);
}

.calc-btn.operator:hover {
    background: rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.calc-btn.equals {
    background: var(--accent-color);
    color: var(--bg-color);
    grid-column: span 2;
    font-weight: bold;
}

.calc-btn.equals:hover {
    background: #e5c14d;
    /* Lighter gold */
    box-shadow: 0 0 15px var(--accent-color);
}

.calc-btn.clear {
    color: #ff4444;
    /* Red for clear */
    background: rgba(255, 68, 68, 0.1);
}

.calc-btn.clear:hover {
    background: rgba(255, 68, 68, 0.2);
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.calc-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}