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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    background: #0a0a0a;
    color: #c9d1d9;
}

/* Landing page */
.landing-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.landing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-select: none;
}

.button-hotspot-form {
    position: absolute;
    z-index: 10;
    margin: 0;
    padding: 0;
}

.button-hotspot {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.button-hotspot:hover {
    box-shadow:
        0 0 15px 5px rgba(255, 40, 40, 0.6),
        0 0 30px 10px rgba(255, 40, 40, 0.3),
        0 0 60px 20px rgba(200, 30, 30, 0.15);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 15px 5px rgba(255, 40, 40, 0.6),
            0 0 30px 10px rgba(255, 40, 40, 0.3);
    }
    50% {
        box-shadow:
            0 0 20px 8px rgba(255, 40, 40, 0.8),
            0 0 40px 15px rgba(255, 40, 40, 0.4),
            0 0 80px 30px rgba(200, 30, 30, 0.2);
    }
}

/* Contact page */
.contact-bg {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.menu-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 32px;
    box-shadow:
        0 0 20px rgba(88, 166, 255, 0.08),
        0 0 40px rgba(88, 166, 255, 0.04);
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-btn {
    min-width: 200px;
    padding: 14px 24px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    box-shadow:
        0 0 20px rgba(88, 166, 255, 0.08),
        0 0 40px rgba(88, 166, 255, 0.04);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #58a6ff;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 3px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #8b949e;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 4px;
    color: #c9d1d9;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #58a6ff;
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.15);
}

.form-group input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.code-row {
    display: flex;
    gap: 10px;
}

.code-row input {
    flex: 1;
}

.code-row .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #1a3a5c, #2d1b4e);
    color: #c9d1d9;
    width: 100%;
    margin-top: 8px;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #1f4a7a, #3a2366);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.2);
}

.btn-secondary {
    background: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
}

.btn-secondary:hover:not(:disabled) {
    background: #30363d;
}

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

/* Status messages */
.status-msg {
    font-size: 0.8rem;
    margin-top: 8px;
    min-height: 1.2em;
}

.status-success {
    color: #3fb950;
}

.status-error {
    color: #f85149;
}

.success-msg {
    text-align: center;
    color: #3fb950;
    margin-bottom: 20px;
    font-size: 1rem;
}

.error-msg {
    text-align: center;
    color: #f85149;
    margin-bottom: 16px;
    font-size: 0.9rem;
    padding: 8px;
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid rgba(248, 81, 73, 0.3);
    border-radius: 4px;
}

/* Scrollbar for contact page */
.contact-overlay::-webkit-scrollbar {
    width: 6px;
}

.contact-overlay::-webkit-scrollbar-track {
    background: transparent;
}

.contact-overlay::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 3px;
}
