body {
    margin: 0;
    font-family: 'Ubuntu', 'Roboto', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #DD4814 0%, #77216F 50%, #3D3226 100%);
    animation: gradient-shift 10s ease infinite;
    background-size: 200% 200%;
}

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

.glossy-button {
    background: linear-gradient(180deg, #F7A15D 0%, #DD4814 100%);
    box-shadow: 0 4px 15px rgba(221, 72, 20, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid #DD4814;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glossy-button:hover {
    box-shadow: 0 6px 20px rgba(221, 72, 20, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.glossy-button:active {
    box-shadow: 0 2px 10px rgba(221, 72, 20, 0.4),
                inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.retro-card {
    background: linear-gradient(145deg, #ffffff 0%, #f5f1e8 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid #e5dcc8;
}

.spec-sheet {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.screenshot-frame {
    background: linear-gradient(145deg, #635146 0%, #3D3226 100%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 3px solid #3D3226;
}

.crt-mode {
    position: relative;
}

.crt-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
}

.crt-mode::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 9998;
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    content: '▶ ';
    display: inline-block;
    transition: transform 0.3s ease;
}

details[open] summary::before {
    transform: rotate(90deg);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading state */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Hover effects */
a {
    transition: color 0.3s ease;
}

button {
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gradient-bg h1 {
        font-size: 2.5rem;
    }
    
    .gradient-bg p {
        font-size: 1.2rem;
    }
}

/* Accessibility */
:focus {
    outline: 3px solid #F7A15D;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 3px solid #F7A15D;
}

/* Print styles */
@media print {
    .crt-mode::before,
    .crt-mode::after {
        display: none;
    }
}