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

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --border-color: #ffffff;
    --shadow-color: rgba(255, 255, 255, 0.3);
    --glow-color: rgba(255, 255, 255, 0.5);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color 2s ease, color 2s ease;
}

body.light-mode {
    --bg-color: #ffffff;
    --text-color: #000000;
    --border-color: #000000;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --glow-color: rgba(0, 0, 0, 0.5);
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    padding: 0;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--shadow-color);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.bulb-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    position: relative;
    color: rgba(255, 220, 150, 0.5);
}

.bulb-glass {
    stroke: rgba(255, 220, 150, 0.4);
    transition: stroke 2s ease;
    fill: rgba(255, 240, 200, 0.08);
}

.bulb-filament {
    stroke: #ffaa00;
    transition: stroke 2s ease, opacity 2s ease;
    opacity: 0.6;
    animation: filamentGlow 3s ease-in-out infinite alternate;
}

@keyframes filamentGlow {
    0% {
        stroke: #ffaa00;
        opacity: 0.5;
    }
    100% {
        stroke: #ffcc00;
        opacity: 0.8;
    }
}

.bulb-base {
    stroke: rgba(255, 220, 150, 0.4);
    transition: stroke 2s ease;
    opacity: 0.4;
}

body.light-mode .bulb-icon {
    color: #ffd700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

body.light-mode .bulb-glass {
    stroke: #ffd700;
    fill: rgba(255, 240, 200, 0.15);
}

body.light-mode .bulb-filament {
    stroke: #ffd700;
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8));
}

body.light-mode .bulb-base {
    stroke: #ffd700;
    opacity: 0.8;
}

/* Illumination overlay animation */
.illumination-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    background: radial-gradient(ellipse 800px 1200px at 2rem 2rem, rgba(255, 255, 200, 0.9) 0%, rgba(255, 255, 180, 0.7) 20%, rgba(255, 255, 150, 0.3) 40%, transparent 70%);
    transition: opacity 0.01s ease;
}

.illumination-overlay.active {
    animation: illuminate 2.5s ease-out forwards;
}

@keyframes illuminate {
    0% {
        opacity: 0;
        transform: scale(0.1);
        background: radial-gradient(ellipse 600px 1000px at 2rem 2rem, rgba(255, 255, 200, 0.95) 0%, rgba(255, 255, 180, 0.8) 10%, rgba(255, 255, 150, 0.6) 25%, rgba(255, 255, 100, 0.4) 40%, rgba(255, 255, 50, 0.2) 60%, transparent 80%);
    }
    30% {
        opacity: 0.8;
        transform: scale(1.2);
        background: radial-gradient(ellipse 1000px 1600px at 2rem 2rem, rgba(255, 255, 220, 0.98) 0%, rgba(255, 255, 200, 0.85) 12%, rgba(255, 255, 180, 0.7) 30%, rgba(255, 255, 120, 0.5) 50%, rgba(255, 255, 80, 0.3) 70%, transparent 90%);
    }
    60% {
        opacity: 1;
        transform: scale(2);
        background: radial-gradient(ellipse 1800px 2800px at 2rem 2rem, rgba(255, 255, 240, 0.95) 0%, rgba(255, 255, 220, 0.8) 15%, rgba(255, 255, 200, 0.6) 35%, rgba(255, 255, 150, 0.4) 55%, rgba(255, 255, 100, 0.25) 75%, transparent 95%);
    }
    100% {
        opacity: 0;
        transform: scale(4);
        background: radial-gradient(ellipse 3000px 4500px at 2rem 2rem, rgba(255, 255, 250, 0.9) 0%, rgba(255, 255, 230, 0.7) 20%, rgba(255, 255, 200, 0.5) 40%, rgba(255, 255, 150, 0.3) 60%, rgba(255, 255, 100, 0.2) 80%, transparent 100%);
    }
}


.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    letter-spacing: 0.15em;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
    position: relative;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ascii-art {
    position: relative;
    animation: fadeIn 1.5s ease-in;
}

.tyr-text {
    font-family: 'Courier New', monospace;
    font-size: clamp(0.5rem, 2vw, 1rem);
    line-height: 1.2;
    color: var(--text-color);
    text-align: center;
    white-space: pre;
    margin: 0;
    position: relative;
    text-shadow: 
        0 0 10px var(--shadow-color),
        0 0 20px var(--shadow-color),
        0 0 30px var(--shadow-color);
    animation: glow 3s ease-in-out infinite alternate;
    letter-spacing: 0.05em;
    transition: color 2s ease, text-shadow 2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px var(--shadow-color),
            0 0 20px var(--shadow-color),
            0 0 30px var(--shadow-color);
    }
    to {
        text-shadow: 
            0 0 20px var(--glow-color),
            0 0 30px var(--shadow-color),
            0 0 40px var(--shadow-color),
            0 0 50px var(--shadow-color);
    }
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    animation: fadeIn 1.5s ease-in;
}

.email-display {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.button-container {
    margin-top: 1rem;
}

.email-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.2em;
    font-weight: 300;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 
        0 0 10px var(--shadow-color),
        0 0 20px var(--shadow-color);
}

.email-link::before,
.email-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.email-link::before {
    top: 0;
    left: 0;
}

.email-link::after {
    bottom: 0;
    right: 0;
}

.email-link:hover::before,
.email-link:hover::after {
    width: 100%;
}

.email-link:hover {
    letter-spacing: 0.3em;
    text-shadow: 
        0 0 20px var(--glow-color),
        0 0 30px var(--shadow-color);
}

.description {
    margin-top: 3rem;
    text-align: center;
    max-width: 600px;
    animation: fadeIn 2s ease-in;
}

.description-text {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    line-height: 1.8;
    color: var(--text-color);
    letter-spacing: 0.1em;
    opacity: 0.8;
    font-weight: 300;
    transition: color 2s ease;
}

.footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    padding: 1rem;
}

.copyright {
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    color: var(--text-color);
    opacity: 0.5;
    letter-spacing: 0.1em;
    font-weight: 300;
    transition: color 2s ease;
}

.drop-note-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.drop-note-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.drop-note-btn:hover::before {
    left: 0;
}

.drop-note-btn:hover {
    letter-spacing: 0.2em;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
    transition: background-color 0.6s ease;
}

body.light-mode .modal {
    background-color: rgba(255, 255, 255, 0.9);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 0 50px var(--shadow-color);
    transition: background-color 2s ease, border-color 2s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.8;
    transition: color 2s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    outline: none;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    border-bottom-color: rgba(0, 0, 0, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--text-color);
    box-shadow: 0 1px 0 0 var(--shadow-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3em;
    box-shadow: 0 0 20px var(--shadow-color);
}

body.light-mode .submit-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    animation: fadeIn 0.3s ease;
}

.form-message.success {
    color: var(--text-color);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    transition: all 2s ease;
}

body.light-mode .form-message.success {
    background: rgba(0, 0, 0, 0.05);
}

.form-message.error {
    color: var(--text-color);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    transition: all 2s ease;
}

body.light-mode .form-message.error {
    background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .tyr-text {
        font-size: clamp(0.3rem, 1.5vw, 0.7rem);
    }
    
    .top-nav {
        padding: 1.5rem;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
    }
    
    .bulb-icon {
        width: 20px;
        height: 20px;
    }
    
    .email-link {
        font-size: clamp(1rem, 5vw, 2rem);
    }
    
    .container {
        padding: 1rem;
    }
    
    .description {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .description-text {
        font-size: clamp(0.6rem, 2vw, 0.8rem);
        line-height: 1.6;
    }
    
    .footer {
        bottom: 1rem;
        padding: 0.5rem;
    }
    
    .copyright {
        font-size: clamp(0.5rem, 1.5vw, 0.65rem);
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .close {
        top: 0.5rem;
        right: 1rem;
        font-size: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .drop-note-btn {
        padding: 0.6rem 1.5rem;
        font-size: clamp(0.7rem, 2vw, 0.9rem);
    }
}

@media (max-width: 480px) {
    .tyr-text {
        font-size: clamp(0.25rem, 1.2vw, 0.6rem);
    }
    
    .description-text {
        font-size: clamp(0.55rem, 1.8vw, 0.7rem);
    }
    
    .email-link {
        font-size: clamp(0.9rem, 6vw, 1.8rem);
        letter-spacing: 0.15em;
    }
    
    .modal-content {
        padding: 1.5rem 1rem;
    }
}

