@font-face {
    font-family: 'VCR OSD Mono';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/fonts/vcr-osd-mono/1.0.0/vcr-osd-mono.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'VCR OSD Mono', monospace;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    color: #B0B0B0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.header-section {
    background: linear-gradient(to bottom, #A10000, #7A0000);
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(161, 0, 0, 0.4);
}

.header {
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container .logo {
    height: 45px;
    width: auto;
    max-width: none;
    display: block;
    transition: transform 0.3s;
}

.logo-container .logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.social-icons img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(2px 2px 4px #000000);
}

.hamburger {
    display: none;
    font-size: 28px;
    color: #B0B0B0;
    cursor: pointer;
    transition: color 0.3s;
}

.hamburger:hover {
    color: #A10000;
}

.gif-section {
    padding: 20px 30px;
}

.gif-section h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 22px;
    color: #B0B0B0;
    text-align: center;
    margin: 15px 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.gif-section a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s;
}

.gif-section a:hover {
    color: #A10000;
}

.gif-section video {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(161, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
    border: 3px solid #A10000;
}

.gif-section img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(161, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
    border: 3px solid #A10000;
}

.nav {
    padding: 15px 30px;
    border-bottom: 4px solid #B0B0B0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav.active ul {
    display: flex;
}

.nav a {
    font-family: 'Press Start 2P', cursive;
    font-size: 13px;
    color: #B0B0B0;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 6px;
}

.nav a:hover {
    color: #A10000;
    background-color: rgba(161, 0, 0, 0.1);
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    border: 2px solid #333;
}

.about-content, .paintings, .games-content, .quiz-content {
    margin-top: 40px;
    display: none;
}

.about-content.active, .paintings.active, .games-content.active, .quiz-content.active {
    display: block;
}

.about-content h2, .paintings h2, .games-content h2, .quiz-content h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    color: #A10000;
    margin: 0 0 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.about-logo {
    text-align: center;
    margin-bottom: 30px;
}

.about-logo img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(161, 0, 0, 0.5);
    border: 3px solid #A10000;
}

.about-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.about-section.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 0 0 300px;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #A10000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.about-content p {
    font-size: 15px;
    margin: 0 0 20px;
    text-align: justify;
    line-height: 1.8;
}

.about-content > p {
    text-align: justify;
}

.games-content {
    text-align: center;
}

.games-content p {
    font-size: 15px;
    margin: 0 0 20px;
    text-align: justify;
    line-height: 1.8;
}

.games-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.games-section.left {
    flex-direction: row;
}

.games-section.right {
    flex-direction: row-reverse;
}

.games-text {
    flex: 1;
}

.games-image-single {
    flex: 0 0 300px;
    cursor: pointer;
}

.games-image-single img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #A10000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.games-image-single img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(161, 0, 0, 0.7);
}

.game-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.game-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border: 3px solid #A10000;
    border-radius: 8px;
}

.game-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #B0B0B0;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.game-modal-close:hover {
    color: #A10000;
}

.uvlist-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #A10000, #7A0000);
    color: #B0B0B0;
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    border-radius: 8px;
    border: 2px solid #B0B0B0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(161, 0, 0, 0.5);
}

.uvlist-link:hover {
    background: linear-gradient(135deg, #C10000, #9A0000);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(161, 0, 0, 0.7);
    color: #FFF;
}

.quiz-content {
    text-align: center;
}

.quiz-content p {
    font-size: 15px;
    margin: 0 auto 30px;
    text-align: justify;
    line-height: 1.8;
    max-width: 800px;
}

.quiz-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #A10000, #7A0000);
    color: #B0B0B0;
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #B0B0B0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(161, 0, 0, 0.5);
    margin-top: 10px;
}

.quiz-button:hover {
    background: linear-gradient(135deg, #C10000, #9A0000);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(161, 0, 0, 0.7);
    color: #FFF;
}

.paintings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.painting {
    background: linear-gradient(135deg, #2A2A2A, #3A3A3A);
    padding: 20px;
    border: 3px solid #B0B0B0;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    cursor: pointer;
}

.painting:hover {
    transform: translateY(-5px);
    border-color: #A10000;
    box-shadow: 0 10px 24px rgba(161, 0, 0, 0.5);
}

.painting img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid #444;
}

.painting h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: #A10000;
    margin: 0 0 12px;
}

.painting p {
    font-size: 12px;
    margin: 0 0 10px;
    text-align: left;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
    border: 3px solid #A10000;
    border-radius: 12px;
    max-width: 1200px;
    width: 95%;
    max-height: 95vh;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 40px rgba(161, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #B0B0B0;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: #A10000;
}

.carousel {
    flex: 2;
    position: relative;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-images img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    border-radius: 8px;
    flex: 0 0 100%;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-nav button {
    background: rgba(42, 42, 42, 0.9);
    border: 2px solid #A10000;
    color: #B0B0B0;
    font-size: 28px;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-nav button:hover {
    background: #A10000;
    color: #FFF;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.carousel-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #B0B0B0;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background-color: #A10000;
    box-shadow: 0 0 10px #A10000;
}

.modal-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: #A10000;
    margin: 0 0 20px;
}

.modal-info p {
    font-size: 13px;
    margin: 0 0 15px;
    text-align: left;
}

.modal-info a {
    color: #B0B0B0;
    background: rgba(161, 0, 0, 0.3);
    text-decoration: none;
    font-size: 13px;
    border: 2px solid #A10000;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s;
    margin-bottom: 12px;
    text-align: center;
}

.modal-info a:hover {
    background: #A10000;
    color: #FFF;
    transform: translateY(-2px);
}

.modal-info .status {
    font-size: 13px;
    color: #B0B0B0;
    margin-top: 10px;
}

.footer {
    background-color: #3A3A3A;
    text-align: center;
    padding: 20px 15px;
    font-size: 13px;
    border-top: 3px solid #B0B0B0;
    margin-top: 40px;
}

.footer p {
    margin: 0;
}

.footer a {
    color: #B0B0B0;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #A10000;
}

@media (max-width: 900px) {
    .paintings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .modal-content {
        flex-direction: column;
    }
    .carousel-images img {
        height: 300px;
    }
    .modal-info {
        padding: 20px;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .about-section.reverse {
        flex-direction: column;
    }
    
    .about-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-text p {
        text-align: left;
    }
    
    .games-section.left,
    .games-section.right {
        flex-direction: column;
    }
    
    .games-image-single {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .games-text p {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 10px 15px;
        min-height: auto;
    }
    
    .logo-container .logo {
        height: 35px;
    }
    
    .social-icons img {
        width: 26px;
        height: 26px;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav {
        padding: 10px 15px;
    }
    
    .nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        background-color: #1A1A1A;
        padding: 15px;
        border: 2px solid #A10000;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .nav.active ul {
        display: flex;
    }
    
    .gif-section {
        padding: 15px;
    }
    
    .gif-section h1 {
        font-size: 16px;
    }
    
    .gif-section video,
    .gif-section img {
        max-width: 100%;
    }
    
    .nav a {
        font-size: 11px;
    }
    
    .container {
        padding: 20px 15px;
        margin: 20px 10px;
    }
    
    .paintings-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .painting {
        max-width: 100%;
    }
    
    .painting img {
        height: 150px;
    }
    
    .painting h3 {
        font-size: 12px;
    }
    
    .painting p, .modal-info p, .modal-info .status {
        font-size: 11px;
    }
    
    .about-content, .games-content, .quiz-content {
        margin-top: 20px;
    }
    
    .about-content h2, .games-content h2, .quiz-content h2 {
        font-size: 16px;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .about-section.reverse {
        flex-direction: column;
    }
    
    .about-image {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .about-image img {
        height: 200px;
    }
    
    .about-logo img {
        width: 80px;
        height: 80px;
    }
    
    .about-text p {
        text-align: left;
    }
    
    .games-section.left,
    .games-section.right {
        flex-direction: column;
    }
    
    .games-image-single {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .games-image-single img {
        height: 200px;
    }
    
    .games-text p {
        text-align: left;
    }
    
    .games-content p {
        text-align: left;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .carousel-images img {
        height: 250px;
    }
    
    .modal-info {
        padding: 15px;
    }
    
    .modal-info h3 {
        font-size: 13px;
    }
    
    .quiz-content p {
        text-align: left;
    }
    
    .quiz-button {
        font-size: 13px;
        padding: 12px 30px;
    }
    
    .footer {
        font-size: 11px;
        padding: 15px 12px;
    }
}