@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Science+Gothic:wght@100..900&display=swap');

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes loadingBar {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

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

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 0, 0.8);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #ff6b00, #ffffff, #ff6b00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-3d:hover {
    transform: rotateY(8deg) rotateX(8deg) scale(1.07);
    box-shadow: 0 20px 40px rgba(252, 120, 6, 0.5);
}

.neon-border {
    position: relative;
    border: 2px solid#ff6b00;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5), inset 0 0 20px rgba(255, 107, 0, 0.2);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@keyframes loadingBar {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes boxBounce {
    0%,
    100% {
        transform: translate(-50%, -50%) translateY(-10px) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(10px) rotate(180deg);
    }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0c0707 0%, #0c0707 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #ff6b00;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #ef904c;
    animation-duration: 2s;
    animation-direction: reverse;
}

.loader-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: #cfb8bb;
    border-radius: 8px;
    transform: translate(-50%, -50%);
    animation: boxBounce 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgb(195, 184, 186);
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

.loader-img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(209, 60, 87, 1));
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 107, 0, 0.2);
    border-radius: 2px;
    margin-top: 40px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b00, #db7685);
    animation: loadingBar 2s ease-out forwards;
}

.loading-text {
    color: #ff6b00;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    animation: fadeIn 1s ease-in-out infinite alternate;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.slide-down {
    animation: slideDown 0.8s ease-out;
}

.main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.main-content.visible {
    opacity: 1;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #1a1a1a;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 100;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background: #ff6b00;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.4s ease-out;
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    width: 100%;
}

.hero-slide.active {
    display: block;
    animation: fadeIn 1s ease-out;
}

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

.quote-section {
    background-size: 100% 100%;
    animation: gradientMove 12s ease infinite;
}

.quote {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

.quote.active {
    opacity: 1;
}

.quote-text {
    font-size: 2rem;
    line-height: 1.4;
    color: #ff6b00;
    font-weight: 700;
}

@media (min-width:768px) {
    .quote-text {
        font-size: 2.5rem;
    }
}

.game-row {
    display: grid;
    gap: 20px;
    padding: 10px;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .game-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .game-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .game-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

#mobileMenu a,
#mobileMenu button {
    border-radius: 10px;
    transition: background 0.3s, color 0.3s;
}

#mobileMenu a:hover,
#mobileMenu button:hover {
    background: rgba(255, 115, 0, 0.1);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}