/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: crosshair;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
    padding: 20px 0;
    z-index: 1000;
}

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

.nav-brand {
    font-size: 24px;
    font-weight: 500;
    font-style: normal;
    font-family: "mono45-headline", monospace;
    letter-spacing: 2px;
    color: #000000;
    text-decoration: none;
    border: 3px solid #000000;
    padding: 4px 12px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.nav-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #000000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.nav-brand:hover::before {
    animation: drawOutline 0.6s ease-in-out forwards;
}

@keyframes drawOutline {
    0% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 0%, 0% 0%);
    }
    20% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    }
    40% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 0%);
    }
    60% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    80% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    100% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
}

.nav-brand span {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.1s;
}

.nav-brand:hover span,
.nav-brand.auto-flicker span {
    animation: type-flicker 0.06s ease-in-out;
    animation-delay: calc(var(--i) * 0.05s);
    animation-fill-mode: both;
}

@keyframes type-flicker {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
    40% {
        opacity: 0.5;
    }
    50%, 100% {
        opacity: 1;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Settings Dropdown */
.settings-dropdown {
    position: relative;
}

.settings-button {
    background: none;
    border: none;
    color: #000000;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: opacity 0.3s ease;
}

.settings-button:hover {
    opacity: 0.6;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background-color: #ffffff;
    border: 1px solid #000000;
    min-width: 180px;
    max-height: 500px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.settings-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 12px 16px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #000000;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid #000000;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    color: #000000;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item.active {
    font-weight: 600;
}

.dropdown-divider {
    height: 1px;
    background-color: #000000;
    margin: 8px 0;
}

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

.toggle-indicator {
    font-size: 11px;
    opacity: 0.6;
    font-weight: 600;
}

.toggle-item.active .toggle-indicator {
    opacity: 1;
}

.dream-only {
    font-size: 9px;
    opacity: 0.5;
    font-weight: 400;
}


/* Wave Distortion Effect */
.wave-distortion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: url(#wave-filter);
    -webkit-backdrop-filter: url(#wave-filter);
}

body.wave-active .wave-distortion-overlay {
    opacity: 1;
}

/* VHS Glitch Effect */
.vhs-glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.05) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: vhs-scan 10s linear infinite;
}

body.vhs-active .vhs-glitch-overlay {
    opacity: 1;
}

@keyframes vhs-scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

.vhs-glitch-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 0, 0, 0.03) 0%,
        rgba(0, 255, 0, 0.03) 50%,
        rgba(0, 0, 255, 0.03) 100%
    );
    animation: vhs-glitch 0.3s infinite;
}

@keyframes vhs-glitch {
    0% { transform: translateX(0); }
    33% { transform: translateX(-2px); }
    66% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

/* Kaleidoscope Effect */
.kaleidoscope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9996;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: url(#kaleidoscope-filter);
    -webkit-backdrop-filter: url(#kaleidoscope-filter);
    animation: kaleidoscope-rotate 20s linear infinite;
}

body.kaleidoscope-active .kaleidoscope-overlay {
    opacity: 1;
}

@keyframes kaleidoscope-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Static Noise Effect */
.static-noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9995;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.3"/></svg>');
    animation: static-flicker 0.1s infinite;
}

body.static-active .static-noise-overlay {
    opacity: 1;
}

@keyframes static-flicker {
    0% { opacity: 0.8; }
    50% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

/* Radial Blur Effect */
.radial-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9994;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    animation: radial-pulse 3s ease-in-out infinite;
    background: radial-gradient(
        circle at center,
        transparent 30%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

body.radial-blur-active .radial-blur-overlay {
    opacity: 1;
}

@keyframes radial-pulse {
    0%, 100% { 
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    50% { 
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
}

/* Ghost Echo Effect */
.ghost-echo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9993;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.ghost-active .ghost-echo-overlay {
    opacity: 1;
}

.ghost-echo-overlay::before,
.ghost-echo-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.ghost-echo-overlay::before {
    transform: translateX(-5px) translateY(-5px);
    background: rgba(255, 0, 0, 0.05);
}

.ghost-echo-overlay::after {
    transform: translateX(5px) translateY(5px);
    background: rgba(0, 255, 255, 0.05);
}

/* Prism Rainbow Effect */
.prism-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9992;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.1),
        rgba(255, 127, 0, 0.1),
        rgba(255, 255, 0, 0.1),
        rgba(0, 255, 0, 0.1),
        rgba(0, 0, 255, 0.1),
        rgba(75, 0, 130, 0.1),
        rgba(148, 0, 211, 0.1)
    );
    background-size: 400% 400%;
    animation: prism-shift 10s ease infinite;
    mix-blend-mode: screen;
}

body.prism-active .prism-overlay {
    opacity: 1;
}

@keyframes prism-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 120px 0;
    border-bottom: 1px solid #000000;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100%;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 500;
    font-style: normal;
    font-family: "mono45-headline", monospace;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
}

/* CTA Button - Option 1: Corner Sweep (commented out)
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: #000000;
    transition: width 0.3s ease, height 0.3s ease 0.3s;
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
    height: 100%;
}
*/

/* CTA Button - Option 4: Expanding Border Fill */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #000000;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.4s ease;
    animation: breathe 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0%;
    height: 0%;
    background-color: #000000;
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: #ffffff;
    animation: none;
}

.cta-button:hover::before {
    width: 100%;
    height: 100%;
}

/* CTA Button - Option 2: Diagonal Wipe (commented out)
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #000000;
    transform: skewX(-20deg);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}
*/

/* CTA Button - Option 3: Split Reveal from Center (commented out)
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0%;
    height: 100%;
    background-color: #000000;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}
*/


@keyframes breathe {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.02);
    }
}

/* Projects Section */
.projects-section {
    --grid-size: 4vw;
    padding: 100px 0;
    position: relative;
    background-image: 
        radial-gradient(circle, rgba(0,0,0,0.35) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    background-position: 0 0;
    background-attachment: local;
    background-repeat: repeat;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.projects-section > * {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 60px;
    text-align: center;
    color: #333333;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 20px 0;
    perspective: 2000px;
}

/* Ticket Stub Styling */
.ticket-stub-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ticket-stub {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 30px 25px;
    cursor: pointer;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Ticket Image Styling */
.ticket-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3 !important;
    transform: scale(1.1);
    filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.ticket-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    opacity: 1;
    transition: opacity 0.4s ease;
}

.ticket-stub:hover .ticket-image {
    opacity: 1 !important;
    transform: scale(1);
    filter: blur(0px);
}

.ticket-stub:hover .ticket-image::before {
    opacity: 0.7;
}

.ticket-stub:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Removed - now handled in floating text effects above */

/* Perforation Line */
.ticket-perforation {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    height: 1px;
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent 5px,
        #000000 5px,
        #000000 10px
    );
    z-index: 3;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.ticket-stub:hover .ticket-perforation {
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent 5px,
        #ffffff 5px,
        #ffffff 10px
    );
}

.ticket-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.ticket-stub:hover .ticket-content {
    color: #ffffff;
}

.ticket-stub:hover .ticket-content * {
    color: #ffffff;
    border-color: #ffffff;
}

/* Floating text effects on hover - JS handles transforms */
.ticket-stub:hover .ticket-header {
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.ticket-stub:hover .ticket-title {
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
    letter-spacing: 3px;
}

.ticket-stub:hover .ticket-details {
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.ticket-stub:hover .ticket-barcode {
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 10px;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.ticket-number {
    font-weight: 400;
    font-family: "courier-prime", monospace;
    font-style: normal;
}

.ticket-admit {
    font-weight: 400;
    font-family: "courier-prime", monospace;
    font-style: normal;
}

.ticket-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: auto;
    margin-top: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.ticket-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #000000;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.ticket-category {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: "courier-prime", monospace;
    font-weight: 400;
    font-style: normal;
}

.ticket-year {
    font-size: 11px;
    font-weight: 400;
    font-family: "courier-prime", monospace;
    font-style: normal;
}

.ticket-barcode {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 2px;
    text-align: center;
    padding: 10px;
    border: 1px solid #000000;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.ticket-barcode::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 45%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.4) 55%,
        transparent 100%
    );
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ticket-stub:hover .ticket-barcode::after {
    left: 100%;
}

.ticket-stub:hover .ticket-barcode {
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* About Section */
.about-section {
    padding: 100px 0;
    border-top: 1px solid #000000;
    background-color: #ffffff;
    background-image: url('assets/OhioState_lasers.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-text {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 100px 0 50px 0;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    text-align: center;
    position: relative;
    background-image: 
        linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0;
    background-attachment: local;
    background-repeat: repeat;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.contact-section > * {
    position: relative;
    z-index: 2;
}


/* Responsive grid sizes */
@media (max-width: 1200px) {
    .projects-section {
        --grid-size: 3.5vw;
    }
}

@media (max-width: 768px) {
    .projects-section {
        --grid-size: 3vw;
    }
}

@media (max-width: 480px) {
    .projects-section {
        --grid-size: 2.5vw;
    }
}

.contact-info {
    margin-top: 0px;
    padding-top: 50px;
}

.contact-link {
    font-size: 28px;
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 30px;
    letter-spacing: 1px;
    transform: translateY(-70px);
    position: relative;
}

.contact-link:hover {
    opacity: 0.6;
    font-style: italic;
    text-decoration: none;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.4s ease;
}

.contact-link:hover::after {
    width: 100%;
}

.contact-details {
    margin-top: 50px;
    font-size: 12px;
    font-weight: 300;
    color: #666666;
    transform: translateY(-77px);
}

.contact-details p {
    margin: 5px 0;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #000000;
}

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

.footer p {
    font-size: 12px;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    color: #000000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Mobile Navigation */
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-brand {
        order: 2;
        margin: 0 auto;
    }

    .hamburger {
        display: flex;
        order: 1;
        position: absolute;
        left: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 81px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #000000;
        flex-direction: column;
        gap: 0;
        font-size: 12px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        order: 3;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu li {
        border-bottom: 1px solid #000000;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a,
    .settings-button {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
    }

    /* Hide settings completely on mobile */
    .settings-dropdown {
        display: none;
    }

    /* Show images on mobile by default and enable parallax state */
    .ticket-image {
        opacity: 1 !important;
        transform: scale(1) !important;
        filter: blur(0px) !important;
    }

    .ticket-stub {
        height: 260px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    .ticket-content {
        color: #ffffff;
    }

    .ticket-content * {
        color: #ffffff;
        border-color: #ffffff;
    }

    .ticket-perforation {
        background-image: repeating-linear-gradient(
            to right,
            transparent,
            transparent 5px,
            #ffffff 5px,
            #ffffff 10px
        );
    }

    .ticket-header {
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
    }

    .ticket-title {
        font-size: 24px;
        text-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
        letter-spacing: 3px;
    }

    .ticket-details {
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
    }

    .ticket-barcode {
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
        background-color: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }
    
    /* Disable hover effects on mobile - parallax always active */
    .ticket-stub:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        transform: none;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .tickets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .projects-section,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }

    .contact-link {
        font-size: 20px;
    }

    .footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .nav-brand {
        font-size: 16px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 11px;
    }

    .settings-button {
        font-size: 11px;
    }

    .dropdown-menu {
        min-width: 150px;
        right: -20px;
    }

    .dropdown-item {
        font-size: 12px;
        padding: 10px 14px;
    }

    .dropdown-header {
        font-size: 9px;
        padding: 10px 14px;
    }

    .toggle-indicator {
        font-size: 10px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ticket-stub {
    animation: fadeIn 0.6s ease forwards;
}

.ticket-stub:nth-child(1) { animation-delay: 0.1s; }
.ticket-stub:nth-child(2) { animation-delay: 0.2s; }
.ticket-stub:nth-child(3) { animation-delay: 0.3s; }
.ticket-stub:nth-child(4) { animation-delay: 0.4s; }
.ticket-stub:nth-child(5) { animation-delay: 0.5s; }
.ticket-stub:nth-child(6) { animation-delay: 0.6s; }

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-transition.active {
    opacity: 1;
}

body.dark-mode .page-transition {
    background-color: #000000;
}

body.light-mode .page-transition {
    background-color: #ffffff;
}

@media (prefers-color-scheme: dark) {
    body:not(.light-mode):not(.dark-mode) .page-transition {
        background-color: #000000;
    }
}

/* Page entrance animation - exclude navbar and hero */
.projects-section,
.about-section,
.contact-section,
.footer,
.project-hero,
.project-overview,
.project-description,
.project-images,
.project-results,
.next-project {
    animation: pageEnter 0.4s ease;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enable Motion Button (iOS) */
.enable-motion-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    display: none;
}

@media (max-width: 768px) {
    .enable-motion-btn {
        display: block;
    }
}

.enable-motion-btn.show {
    opacity: 1;
    pointer-events: all;
}

.enable-motion-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateX(-50%) scale(1.05);
}

body.dark-mode .enable-motion-btn {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

body.dark-mode .enable-motion-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

/* World Clock Popup */
.world-clock-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.world-clock-popup.show {
    display: flex;
    animation: worldClockFadeIn 0.5s ease-out;
}

.world-clock-content {
    background: #ffffff;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    background-position: 0 0;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.world-clock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.world-clock-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333333;
}

.world-clock-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.world-clock-close:hover {
    background: #f0f0f0;
    color: #333333;
}

.world-clock-times {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform-style: preserve-3d;
}

.time-zone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    transform-style: preserve-3d;
    border-bottom: 1px solid #f8f8f8;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
}

.time-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #000000;
    opacity: 0;
    border-radius: 4px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.time-zone:not([style*="translate"]):hover {
    transform: scale(1.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.time-zone:hover::before {
    opacity: 1;
}

.time-zone:last-child {
    border-bottom: none;
}

.time-zone.user-timezone {
    border: 2px solid #000000;
    padding: 10px 12px;
    margin: 0 -12px;
    background-color: rgba(0, 0, 0, 0.02);
}

.time-zone .city {
    font-size: 16px;
    font-weight: 500;
    color: #555555;
}

.time-zone .time {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    font-family: 'Courier New', monospace;
}

@keyframes worldClockFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Dark mode styles for world clock */
body.dark-mode .world-clock-content {
    background: #1a1a1a;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    background-position: 0 0;
    border: 1px solid #333333;
}

body.dark-mode .world-clock-header {
    border-bottom-color: #333333;
}

body.dark-mode .world-clock-header h3 {
    color: #ffffff;
}

body.dark-mode .world-clock-close {
    color: #999999;
}

body.dark-mode .world-clock-close:hover {
    background: #333333;
    color: #ffffff;
}

body.dark-mode .time-zone {
    border-bottom-color: #333333;
}

body.dark-mode .time-zone::before {
    border-color: #ffffff;
}

body.dark-mode .time-zone .city {
    color: #cccccc;
}

body.dark-mode .time-zone .time {
    color: #ffffff;
}

body.dark-mode .time-zone.user-timezone {
    border: 2px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Light mode styles for world clock */
body.light-mode .world-clock-content {
    background: #ffffff;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    background-position: 0 0;
    border: 1px solid #e0e0e0;
}

body.light-mode .world-clock-header {
    border-bottom-color: #f0f0f0;
}

body.light-mode .world-clock-header h3 {
    color: #333333;
}

body.light-mode .world-clock-close {
    color: #999999;
}

body.light-mode .world-clock-close:hover {
    background: #f0f0f0;
    color: #333333;
}

body.light-mode .time-zone {
    border-bottom-color: #f8f8f8;
}

body.light-mode .time-zone::before {
    border-color: #000000;
}

body.light-mode .time-zone .city {
    color: #555555;
}

body.light-mode .time-zone .time {
    color: #333333;
}

body.light-mode .time-zone.user-timezone {
    border: 2px solid #000000;
    background-color: rgba(0, 0, 0, 0.02);
}

/* Easter Egg */
.easter-egg {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -50px);
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
}

.easter-egg.show {
    opacity: 1;
    transform: translate(-50%, 0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
    .easter-egg {
        font-size: 12px;
        padding: 10px 20px;
    }
}

/* Manual Dark Mode Override */
body.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

body.dark-mode .navbar {
    background-color: #000000;
    border-bottom-color: #ffffff;
}

body.dark-mode .nav-brand {
    color: #ffffff;
}

body.dark-mode .nav-brand::before {
    border-color: #ffffff;
}

body.dark-mode .hamburger span {
    background-color: #ffffff;
}

body.dark-mode .nav-menu {
    background-color: #000000;
    border-bottom-color: #ffffff;
}

body.dark-mode .nav-menu li {
    border-bottom-color: #ffffff;
}

body.dark-mode .nav-menu a {
    color: #ffffff;
}

body.dark-mode .hero {
    border-bottom-color: #ffffff;
}

body.dark-mode .hero-overlay {
    background: rgba(0, 0, 0, 0.25);
}

body.dark-mode .cta-button {
    border-color: #ffffff;
    color: #ffffff;
}

body.dark-mode .cta-button::before {
    background-color: #ffffff;
}

body.dark-mode .cta-button:hover {
    color: #000000;
}

body.dark-mode .ticket-stub {
    background-color: #000000;
    border-color: #ffffff;
    color: #ffffff;
}

body.dark-mode .ticket-stub:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

body.dark-mode .ticket-stub:hover .ticket-content {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

body.dark-mode .ticket-stub:hover .ticket-content * {
    color: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .ticket-perforation {
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent 5px,
        #ffffff 5px,
        #ffffff 10px
    );
}

body.dark-mode .ticket-details {
    border-top-color: #ffffff;
}

body.dark-mode .ticket-barcode {
    border-color: #ffffff;
    background-color: #000000;
}

body.dark-mode .ticket-stub:hover .ticket-barcode {
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

body.dark-mode .projects-section {
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    background-position: 0 0;
    background-attachment: local;
    background-repeat: repeat;
}

body.dark-mode .projects-section::before {
    background: radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

body.dark-mode .about-section {
    background-color: #000000;
    border-top-color: #ffffff;
}

body.dark-mode .about-section::before {
    background: rgba(0, 0, 0, 0.75);
}

body.dark-mode .contact-section {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
    background-image: 
        linear-gradient(rgba(255,255,255,0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.25) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0;
    background-attachment: local;
    background-repeat: repeat;
    background-clip: padding-box;
}

body.dark-mode .contact-section::before {
    background: radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}


/* Responsive grid sizes for dark mode */
@media (max-width: 1200px) {
    body.dark-mode .projects-section {
        --grid-size: 3.5vw;
    }
}

@media (max-width: 768px) {
    body.dark-mode .projects-section {
        --grid-size: 3vw;
    }
}

@media (max-width: 480px) {
    body.dark-mode .projects-section {
        --grid-size: 2.5vw;
    }
}

body.dark-mode .footer {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
}

body.dark-mode .section-title {
    color: #cccccc;
}

body.dark-mode .contact-details {
    color: #999999;
}

body.dark-mode .contact-link {
    color: #ffffff;
}

body.dark-mode .social-links a {
    color: #ffffff;
}

body.dark-mode .easter-egg {
    background-color: #000000;
    border-color: #ffffff;
    color: #ffffff;
}

body.dark-mode .easter-egg.show {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

body.dark-mode .settings-button {
    color: #ffffff;
}

body.dark-mode .dropdown-menu {
    background-color: #000000;
    border-color: #ffffff;
}

body.dark-mode .dropdown-header {
    border-bottom-color: #ffffff;
    color: #ffffff;
}

body.dark-mode .dropdown-item {
    border-bottom-color: #ffffff;
    color: #ffffff;
}

body.dark-mode .dropdown-item:hover {
    background-color: #1a1a1a;
}

body.dark-mode .dropdown-divider {
    background-color: #ffffff;
}

/* Manual Light Mode Override */
body.light-mode {
    background-color: #ffffff;
    color: #000000;
}

body.light-mode .navbar {
    background-color: #ffffff;
    border-bottom-color: #000000;
}

body.light-mode .nav-brand {
    color: #000000;
    border-color: transparent;
}

body.light-mode .nav-brand::before {
    border-color: #000000;
}

body.light-mode .hamburger span {
    background-color: #000000;
}

body.light-mode .nav-menu {
    background-color: #ffffff;
    border-bottom-color: #000000;
}

body.light-mode .nav-menu li {
    border-bottom-color: #000000;
}

body.light-mode .nav-menu a {
    color: #000000;
}

body.light-mode .hero {
    border-bottom-color: #000000;
}

body.light-mode .hero-overlay {
    background: rgba(255, 255, 255, 0.55);
}

body.light-mode .cta-button {
    border-color: #000000;
    color: #000000;
}

body.light-mode .cta-button:hover {
    background-color: #000000;
    color: #ffffff;
}

body.light-mode .ticket-stub {
    background-color: #ffffff;
    border-color: #000000;
    color: #000000;
}

body.light-mode .ticket-stub:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .ticket-stub:hover .ticket-content {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

body.light-mode .ticket-stub:hover .ticket-content * {
    color: #ffffff;
    border-color: #ffffff;
}

body.light-mode .ticket-perforation {
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent 5px,
        #000000 5px,
        #000000 10px
    );
}

body.light-mode .ticket-details {
    border-top-color: #000000;
}

body.light-mode .ticket-barcode {
    border-color: #000000;
    background-color: #ffffff;
}

body.light-mode .ticket-stub:hover .ticket-barcode {
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

body.light-mode .about-section {
    background-color: #ffffff;
    border-top-color: #000000;
}

body.light-mode .about-section::before {
    background: rgba(255, 255, 255, 0.85);
}

body.light-mode .contact-section,
body.light-mode .footer {
    border-top-color: #000000;
    border-bottom-color: #000000;
}

body.light-mode .section-title {
    color: #333333;
}

body.light-mode .contact-details {
    color: #666666;
}

body.light-mode .contact-link {
    color: #000000;
}

body.light-mode .social-links a {
    color: #000000;
}

body.light-mode .easter-egg {
    background-color: #ffffff;
    border-color: #000000;
    color: #000000;
}

body.light-mode .easter-egg.show {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .settings-button {
    color: #000000;
}

body.light-mode .dropdown-menu {
    background-color: #ffffff;
    border-color: #000000;
}

body.light-mode .dropdown-header {
    border-bottom-color: #000000;
    color: #000000;
}

body.light-mode .dropdown-item {
    border-bottom-color: #000000;
    color: #000000;
}

body.light-mode .dropdown-item:hover {
    background-color: #f5f5f5;
}

/* Auto Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    body:not(.light-mode):not(.dark-mode) {
        background-color: #000000;
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .navbar {
        background-color: #000000;
        border-bottom-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .nav-brand {
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .nav-brand::before {
        border-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .hamburger span {
        background-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .nav-menu {
        background-color: #000000;
        border-bottom-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .nav-menu li {
        border-bottom-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .nav-menu a {
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .hero {
        border-bottom-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .hero-overlay {
        background: rgba(0, 0, 0, 0.25);
    }

    body:not(.light-mode):not(.dark-mode) .cta-button {
        border-color: #ffffff;
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .cta-button::before {
        background-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .cta-button:hover {
        color: #000000;
    }

    body:not(.light-mode):not(.dark-mode) .ticket-stub {
        background-color: #000000;
        border-color: #ffffff;
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .ticket-stub:hover {
        box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
    }

    body:not(.light-mode):not(.dark-mode) .ticket-stub:hover .ticket-content {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .ticket-stub:hover .ticket-content * {
        color: #ffffff;
        border-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .ticket-perforation {
        background-image: repeating-linear-gradient(
            to right,
            transparent,
            transparent 5px,
            #ffffff 5px,
            #ffffff 10px
        );
    }

    body:not(.light-mode):not(.dark-mode) .ticket-details {
        border-top-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .ticket-barcode {
        border-color: #ffffff;
        background-color: #000000;
    }

    body:not(.light-mode):not(.dark-mode) .ticket-stub:hover .ticket-barcode {
        background-color: rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }

    body:not(.light-mode):not(.dark-mode) .projects-section {
        background-image: 
            radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1px);
        background-size: var(--grid-size) var(--grid-size);
        background-position: 0 0;
        background-attachment: local;
        background-repeat: repeat;
    }

    body:not(.light-mode):not(.dark-mode) .projects-section::before {
        background: radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
    }

    body:not(.light-mode):not(.dark-mode) .about-section {
        background-color: #000000;
        border-top-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .about-section::before {
        background: rgba(0, 0, 0, 0.75);
    }

    body:not(.light-mode):not(.dark-mode) .contact-section {
        border-top-color: #ffffff;
        border-bottom-color: #ffffff;
        background-image: 
            linear-gradient(rgba(255,255,255,0.25) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.25) 1px, transparent 1px);
        background-size: 50px 50px;
        background-position: 0 0;
        background-attachment: local;
        background-repeat: repeat;
        background-clip: padding-box;
    }

    body:not(.light-mode):not(.dark-mode) .contact-section::before {
        background: radial-gradient(ellipse at center, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
    }


    /* Responsive grid sizes for auto mode */
    @media (max-width: 1200px) {
        body:not(.light-mode):not(.dark-mode) .projects-section {
            --grid-size: 3.5vw;
        }
    }

    @media (max-width: 768px) {
        body:not(.light-mode):not(.dark-mode) .projects-section {
            --grid-size: 3vw;
        }
    }

    @media (max-width: 480px) {
        body:not(.light-mode):not(.dark-mode) .projects-section {
            --grid-size: 2.5vw;
        }
    }

    body:not(.light-mode):not(.dark-mode) .footer {
        border-top-color: #ffffff;
        border-bottom-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .section-title {
        color: #cccccc;
    }

    body:not(.light-mode):not(.dark-mode) .contact-details {
        color: #999999;
    }

    body:not(.light-mode):not(.dark-mode) .contact-link {
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .social-links a {
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .easter-egg {
        background-color: #000000;
        border-color: #ffffff;
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .easter-egg.show {
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    }

    body:not(.light-mode):not(.dark-mode) .settings-button {
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .dropdown-menu {
        background-color: #000000;
        border-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .dropdown-header {
        border-bottom-color: #ffffff;
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .dropdown-item {
        border-bottom-color: #ffffff;
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .dropdown-item:hover {
        background-color: #1a1a1a;
    }

    body:not(.light-mode):not(.dark-mode) .dropdown-divider {
        background-color: #ffffff;
    }

    /* Auto mode world clock styles */
    body:not(.light-mode):not(.dark-mode) .world-clock-content {
        background: #1a1a1a;
        background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
        background-size: 20px 20px;
        background-position: 0 0;
        border: 1px solid #333333;
    }

    body:not(.light-mode):not(.dark-mode) .world-clock-header {
        border-bottom-color: #333333;
    }

    body:not(.light-mode):not(.dark-mode) .world-clock-header h3 {
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .world-clock-close {
        color: #999999;
    }

    body:not(.light-mode):not(.dark-mode) .world-clock-close:hover {
        background: #333333;
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .time-zone {
        border-bottom-color: #333333;
    }

    body:not(.light-mode):not(.dark-mode) .time-zone::before {
        border-color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .time-zone .city {
        color: #cccccc;
    }

    body:not(.light-mode):not(.dark-mode) .time-zone .time {
        color: #ffffff;
    }

    body:not(.light-mode):not(.dark-mode) .time-zone.user-timezone {
        border: 2px solid #ffffff;
        background-color: rgba(255, 255, 255, 0.05);
    }
}
 