/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Oxanium:wght@400;600;700&display=swap');

/* Global Styles */
body {
    font-family: 'Oxanium', cursive;
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
}

/* Navbar Styles */
.w3-red {
    background-color: #e63946 !important;
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.w3-bar .w3-button {
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.w3-bar .w3-button:hover {
    background-color: #ff5665 !important;
    transform: translateY(-2px);
}

.w3-bar .w3-button:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.w3-bar .w3-button:hover:after {
    width: 100%;
}

.w3-bar .w3-white {
    background-color: #fff !important;
    color: #e63946 !important;
}

/* Header Styles */
header.w3-container {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

h1.w3-margin.w3-jumbo {
    font-family: 'Press Start 2P', cursive;
    font-size: 3.5rem;
    text-shadow: 4px 4px 0 #e63946;
    animation: pulse 2s infinite alternate;
    margin-bottom: 20px;
}

@keyframes pulse {
    from { text-shadow: 4px 4px 0 #e63946; }
    to { text-shadow: 6px 6px 0 #ff5665, 0 0 10px #fff; }
}

p.w3-xlarge {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Button Styles */
.w3-button.w3-red {
    background-color: #e63946 !important;
    border-radius: 30px;
    padding: 15px 40px !important;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.w3-button.w3-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
    background-color: #ff5665 !important;
}

/* Content Sections */
.w3-container {
    padding: 100px 16px !important;
}

.w3-light-grey {
    background-color: #1a1a1a !important;
}

.w3-content {
    max-width: 1200px;
}

.w3-circle {
    border: 5px solid #e63946;
    transition: transform 0.3s ease;
}

.w3-circle:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Progress Bars */
.w3-light-grey.w3-round-xlarge {
    background-color: #333 !important;
    height: 30px !important;
    margin-bottom: 25px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.w3-round-xlarge.w3-red {
    height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    transition: width 1.5s ease;
    background: linear-gradient(90deg, #e63946, #ff5665) !important;
    box-shadow: 0 3px 10px rgba(230, 57, 70, 0.5);
}

/* Modal Styles */
.w3-modal-content {
    border-radius: 10px;
    overflow: hidden;
    max-width: 800px;
}

.w3-modal-content header {
    font-family: 'Press Start 2P', cursive;
    padding: 20px !important;
}

.w3-modal-content .w3-button {
    font-size: 24px;
}

.w3-hover-opacity {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.w3-hover-opacity:hover {
    opacity: 0.9 !important;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.w3-hover-opacity:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 57, 70, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.w3-hover-opacity:hover:after {
    opacity: 1;
}

#gameInfo {
    min-height: 150px;
    border-radius: 8px;
    padding: 20px;
    background-color: #1a1a1a;
    border-left: 5px solid #e63946;
}

/* Footer Styles */
footer {
    padding: 40px 0 !important;
    background-color: #1a1a1a !important;
}

.w3-xlarge i {
    margin: 0 15px;
    font-size: 28px !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.w3-xlarge i:hover {
    color: #e63946 !important;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1.w3-margin.w3-jumbo {
        font-size: 2.5rem;
    }
    
    .w3-twothird, .w3-third {
        width: 100% !important;
    }
    
    .w3-third.w3-center {
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    h1.w3-margin.w3-jumbo {
        font-size: 1.8rem;
        text-shadow: 3px 3px 0 #e63946;
    }
    
    p.w3-xlarge {
        font-size: 1.2rem;
    }
    
    .w3-button.w3-red {
        padding: 12px 30px !important;
    }
}