/* =====================================================
   NEWSLETTER MODAL STYLING - ENHANCED
   ===================================================== */
/* About Studio Section - Positioned between Hero and Games */
.about-studio {
    padding: 5rem 0;
    background: #1A202C;
    position: relative;
    overflow: hidden;
    /* Create a transition from hero to games section */
    background: linear-gradient(180deg, #0D1117 0%, #1A202C 50%, rgba(45, 55, 72, 0.3) 100%);
}

.about-studio::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.about-studio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.5) 50%, transparent 100%);
}

.about-studio__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-studio__content {
    opacity: 0;
    animation: fadeInLeft 1s ease-out 0.3s forwards;
}

.about-studio h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #F7FAFC;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.about-studio h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35 0%, #D4AF37 100%);
}

.about-studio__intro,
.about-studio__mission {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(247, 250, 252, 0.85);
    margin-bottom: 1.5rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.about-studio__intro strong {
    color: #FF6B35;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.about-studio__mission {
    font-style: italic;
    opacity: 0.9;
}

.about-studio__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #D4AF37;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 2rem;
}

.about-studio__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.about-studio__link:hover::after {
    width: 100%;
}

.about-studio__link:hover {
    color: #FF6B35;
}

.about-studio__link i {
    transition: transform 0.3s ease;
}

.about-studio__link:hover i {
    transform: translateX(5px);
}

/* Visual Side */
.about-studio__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.scorpion-badge {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scorpion-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.5));
    z-index: 2;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-studio {
        padding: 4rem 0;
    }
    
    .about-studio__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-studio h2 {
        font-size: 2rem;
    }
    
    .about-studio h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-studio__visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .scorpion-badge {
        width: 200px;
        height: 200px;
    }
    
    .scorpion-logo {
        width: 150px;
    }
    
    .badge-glow {
        width: 180px;
        height: 180px;
    }
    
    .about-studio__link {
        justify-content: center;
    }
}
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.5s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-swift);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--scorpion-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.1) rotate(90deg);
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.8);
}

/* Enhanced Zoho Form Modal Styling with Responsive Support */
#sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 .SIGNUP_PAGE {
    padding: 30px !important;
    background: transparent !important;
    font-family: var(--font-modern) !important;
    color: var(--light) !important;
    text-align: center !important;
    font-size: 14px !important;
    min-width: 240px !important;
    border: none !important;
}

/* Zoho responsive overrides for modal */
#sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 #customForm *:not(.dateClass) {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

#sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 .dateClass {
    -webkit-box-sizing: unset !important;
    -moz-box-sizing: unset !important;
    box-sizing: unset !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.modal-logo-section {
    width: 100% !important;
    margin: 0px auto !important;
    font-family: var(--font-gaming) !important;
    padding-bottom: 20px !important;
    color: var(--light) !important;
    text-align: center !important;
    font-size: 12px !important;
    padding-top: 10px !important;
    font-weight: bold !important;
}

.modal-logo {
    width: 150px !important;
    max-width: 100% !important;
    height: auto !important;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
}

.modal-signup-main {
    margin: 0px auto !important;
    width: 100% !important;
    min-width: 230px !important;
    max-width: 100% !important;
}

.modal-success-message {
    display: none !important;
    position: absolute !important;
    margin-left: 4% !important;
    width: 90% !important;
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.2) 0%, rgba(0, 212, 170, 0.1) 100%) !important;
    padding: 15px !important;
    border: 2px solid var(--lime-green) !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    word-break: break-all !important;
    box-shadow: 0 0 30px rgba(126, 211, 33, 0.4);
}

.modal-success-text {
    color: var(--lime-green) !important;
    font-family: var(--font-modern) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    word-break: break-word !important;
}

.modal-signup-body {
    border: none !important;
}

.modal-heading {
    color: var(--light) !important;
    font-size: 28px !important;
    font-family: var(--font-gaming) !important;
    margin: 0px 0px 20px 0px !important;
    text-align: center !important;
    padding: 0px !important;
    background: var(--hero-gradient) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: textShimmer 3s ease-in-out infinite !important;
    word-break: break-word !important;
    border: none !important;
}

.modal-form-body {
    padding: 0px !important;
    text-align: left !important;
    background: transparent !important;
    font-family: var(--font-modern) !important;
    color: var(--light) !important;
    font-size: 14px !important;
    opacity: 1 !important;
}

.modal-error-message {
    display: none !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(193, 68, 14, 0.1) 100%) !important;
    padding: 10px !important;
    color: var(--scorpion-orange) !important;
    font-size: 13px !important;
    margin: 10px 0px !important;
    border: 1px solid var(--scorpion-orange) !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
}

.modal-fields-container {
    font-size: 14px !important;
    margin-top: 0px !important;
}

.modal-field-group {
    padding: 15px 0px !important;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.modal-field-label {
    font-family: var(--font-tech) !important;
    color: var(--light) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.modal-field-input-container {
    width: 100% !important;
    min-width: 170px !important;
    margin-top: 5px !important;
}

.modal-input {
    height: 45px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    color: var(--light) !important;
    background: rgba(45, 55, 72, 0.5) !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-radius: 8px !important;
    font-family: var(--font-modern) !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    transition: var(--transition-swift) !important;
    backdrop-filter: blur(5px);
}

.modal-input:focus {
    outline: none !important;
    border-color: var(--scorpion-orange) !important;
    background: rgba(45, 55, 72, 0.7) !important;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3),
                inset 0 0 10px rgba(255, 107, 53, 0.1) !important;
}

.modal-input::placeholder {
    color: rgba(247, 250, 252, 0.6) !important;
    font-style: italic;
}

.modal-textarea {
    padding: 12px 15px !important;
    width: 100% !important;
    color: var(--light) !important;
    background: rgba(45, 55, 72, 0.5) !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-radius: 8px !important;
    font-family: var(--font-modern) !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    height: 100px !important;
    resize: vertical !important;
    transition: var(--transition-swift) !important;
    backdrop-filter: blur(5px);
}

.modal-textarea:focus {
    outline: none !important;
    border-color: var(--scorpion-orange) !important;
    background: rgba(45, 55, 72, 0.7) !important;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3),
                inset 0 0 10px rgba(255, 107, 53, 0.1) !important;
}

.modal-textarea::placeholder {
    color: rgba(247, 250, 252, 0.6) !important;
    font-style: italic;
}

.modal-checkbox-container {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 5px !important;
}

.modal-checkbox {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--scorpion-orange) !important;
    cursor: pointer !important;
}

.modal-checkbox-label {
    color: var(--light) !important;
    font-family: var(--font-modern) !important;
    font-size: 14px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.modal-required {
    color: var(--scorpion-orange) !important;
    font-size: 16px !important;
    font-family: var(--font-modern) !important;
    font-weight: bold !important;
}

.modal-captcha-container {
    padding: 20px 0px !important;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    margin-top: 10px !important;
}

.modal-captcha-parent {
    width: 100% !important;
    min-width: 170px !important;
    position: relative;
}

.modal-captcha-refresh {
    cursor: pointer !important;
    float: right !important;
    margin-right: 4px !important;
    margin-bottom: 10px !important;
    filter: brightness(0) invert(1);
    transition: var(--transition-swift);
}

.modal-captcha-refresh:hover {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(15deg) saturate(3);
    transform: rotate(180deg);
}

.modal-captcha-div {
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

.modal-captcha-input {
    margin-top: 10px !important;
}

.modal-captcha-required {
    color: var(--scorpion-orange) !important;
    font-size: 16px !important;
    font-family: var(--font-modern) !important;
    margin-top: -16px !important;
    margin-right: -2px !important;
    float: right !important;
}

.modal-divider {
    border-bottom: 1px solid rgba(255, 107, 53, 0.2) !important;
    margin-top: 20px !important;
    clear: both !important;
}

.modal-required-text {
    color: var(--scorpion-orange) !important;
    font-size: 12px !important;
    font-family: var(--font-modern) !important;
    padding: 15px 0px !important;
    font-style: italic !important;
}

.modal-submit-container {
    padding: 20px 0px !important;
    text-align: center !important;
}

.modal-submit-btn {
    cursor: pointer !important;
    appearance: none !important;
    border-radius: 50px !important;
    background: var(--brand-gradient) !important;
    outline: none !important;
    padding: 15px 40px !important;
    text-align: center !important;
    color: var(--light) !important;
    font-size: 18px !important;
    font-family: var(--font-gaming) !important;
    font-weight: 600 !important;
    border: 2px solid var(--scorpion-orange) !important;
    white-space: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: var(--transition-bounce) !important;
    position: relative !important;
    overflow: hidden !important;
}

.modal-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: transform 0.4s ease;
}

.modal-submit-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5),
                0 0 60px rgba(212, 175, 55, 0.3) !important;
    border-color: var(--royal-gold) !important;
}

.modal-submit-btn:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.modal-privacy-notes {
    margin: 20px auto 0px !important;
    text-align: center !important;
    font-size: 12px !important;
    color: rgba(247, 250, 252, 0.7) !important;
    font-style: italic !important;
    line-height: 1.5 !important;
    padding: 15px !important;
    background: rgba(255, 107, 53, 0.05) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 107, 53, 0.1) !important;
}

/* =====================================================
   ZOHO RESPONSIVE OVERRIDES FOR MODAL
   ===================================================== */

/* Very Small Screens */
@media only screen and (max-width: 319px) {
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 #signupMainDiv {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0px auto !important;
    }
    
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 #SIGNUP_PAGE {
        padding: 15px !important;
    }
    
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 [changeitem="SIGNUP_FORM_FIELD"] {
        width: 100% !important;
    }
    
    .modal-captcha-div {
        width: 100% !important;
    }
    
    .modal-captcha-refresh {
        margin-right: 8px !important;
    }
}

/* Mobile Phones */
@media screen and (min-width: 320px) and (max-width: 580px) {
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 #signupMainDiv {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0px auto !important;
    }
    
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 [changeitem="SIGNUP_FORM_FIELD"] {
        width: 100% !important;
    }
    
    .modal-captcha-div {
        width: 100% !important;
    }
    
    .modal-captcha-input {
        width: 100% !important;
    }
    
    .modal-captcha-refresh {
        margin-right: 6px !important;
    }
    
    .modal-captcha-required {
        margin-right: -10px !important;
    }
}

/* Large Mobile/Small Tablet */
@media screen and (min-width: 581px) and (max-width: 767px) {
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 #signupMainDiv {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0px auto !important;
    }
    
    .modal-captcha-div {
        width: 90% !important;
    }
    
    .modal-captcha-input {
        width: 90% !important;
    }
    
    .modal-captcha-refresh {
        margin-right: 14px !important;
    }
    
    .modal-captcha-required {
        margin-right: -10px !important;
    }
}

/* iPads */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 #signupMainDiv {
        width: 100% !important;
        min-width: 240px !important;
        margin: 0px auto !important;
    }
    
    .modal-captcha-div {
        width: 86.8% !important;
    }
    
    .modal-captcha-refresh {
        margin-right: 12px !important;
    }
}

/* Desktop and larger */
@media only screen and (min-width: 1025px) {
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 #signupMainDiv {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0px auto !important;
    }
}

/* =====================================================
   MODAL RESPONSIVE DESIGN - GENERAL
   ===================================================== */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 85vh;
        margin: 10px;
        border-radius: 15px;
    }
    
    .modal-heading {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .modal-logo {
        width: 120px !important;
    }
    
    .modal-input,
    .modal-textarea {
        height: 40px !important;
        padding: 10px 12px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .modal-textarea {
        height: 80px !important;
    }
    
    .modal-submit-btn {
        padding: 12px 30px !important;
        font-size: 16px !important;
        width: 100% !important;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }
    
    .modal-field-group {
        padding: 12px 0px !important;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 98%;
        max-height: 90vh;
        border-radius: 10px;
    }
    
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 .SIGNUP_PAGE {
        padding: 20px !important;
    }
    
    .modal-heading {
        font-size: 20px !important;
    }
    
    .modal-field-group {
        padding: 10px 0px !important;
    }
    
    .modal-captcha-container {
        padding: 15px 0px !important;
    }
    
    .modal-checkbox-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
}keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.modal-container {
    background: linear-gradient(135deg, 
        rgba(45, 55, 72, 0.95) 0%, 
        rgba(26, 32, 44, 0.98) 100%);
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(255, 107, 53, 0.3),
                inset 0 0 40px rgba(124, 58, 237, 0.1);
    animation: modalSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--hero-gradient);
    background-size: 400% 100%;
    animation: borderFlow 8s linear infinite;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.8;
}

/* =====================================================
   NEWSLETTER MODAL STYLING
   ===================================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.5s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.modal-container {
    background: linear-gradient(135deg, 
        rgba(45, 55, 72, 0.95) 0%, 
        rgba(26, 32, 44, 0.98) 100%);
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(255, 107, 53, 0.3),
                inset 0 0 40px rgba(124, 58, 237, 0.1);
    animation: modalSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--hero-gradient);
    background-size: 400% 100%;
    animation: borderFlow 8s linear infinite;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.8;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-swift);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--scorpion-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.1) rotate(90deg);
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.8);
}

/* Zoho Form Modal Styling */
#sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 .SIGNUP_PAGE {
    padding: 30px !important;
    background: transparent !important;
    font-family: var(--font-modern) !important;
    color: var(--light) !important;
    text-align: center !important;
    font-size: 14px !important;
    min-width: 240px !important;
    border: none !important;
}

.modal-logo-section {
    width: 100% !important;
    margin: 0px auto !important;
    font-family: var(--font-gaming) !important;
    padding-bottom: 20px !important;
    color: var(--light) !important;
    text-align: center !important;
    font-size: 12px !important;
    padding-top: 10px !important;
    font-weight: bold !important;
}

.modal-logo {
    width: 150px !important;
    max-width: 100% !important;
    height: auto !important;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
}

.modal-signup-main {
    margin: 0px auto !important;
    width: 100% !important;
    min-width: 230px !important;
    max-width: 100% !important;
}

.modal-success-message {
    display: none !important;
    position: absolute !important;
    margin-left: 4% !important;
    width: 90% !important;
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.2) 0%, rgba(0, 212, 170, 0.1) 100%) !important;
    padding: 15px !important;
    border: 2px solid var(--lime-green) !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    word-break: break-all !important;
    box-shadow: 0 0 30px rgba(126, 211, 33, 0.4);
}

.modal-success-text {
    color: var(--lime-green) !important;
    font-family: var(--font-modern) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    word-break: break-word !important;
}

.modal-signup-body {
    border: none !important;
}

.modal-heading {
    color: var(--light) !important;
    font-size: 28px !important;
    font-family: var(--font-gaming) !important;
    margin: 0px 0px 20px 0px !important;
    text-align: center !important;
    padding: 0px !important;
    background: var(--hero-gradient) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: textShimmer 3s ease-in-out infinite !important;
    word-break: break-word !important;
    border: none !important;
}

.modal-form-body {
    padding: 0px !important;
    text-align: left !important;
    background: transparent !important;
    font-family: var(--font-modern) !important;
    color: var(--light) !important;
    font-size: 14px !important;
    opacity: 1 !important;
}

.modal-error-message {
    display: none !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(193, 68, 14, 0.1) 100%) !important;
    padding: 10px !important;
    color: var(--scorpion-orange) !important;
    font-size: 13px !important;
    margin: 10px 0px !important;
    border: 1px solid var(--scorpion-orange) !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
}

.modal-fields-container {
    font-size: 14px !important;
    margin-top: 0px !important;
}

.modal-field-group {
    padding: 15px 0px !important;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.modal-field-label {
    font-family: var(--font-tech) !important;
    color: var(--light) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.modal-field-input-container {
    width: 100% !important;
    min-width: 170px !important;
    margin-top: 5px !important;
}

.modal-input {
    height: 45px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    color: var(--light) !important;
    background: rgba(45, 55, 72, 0.5) !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-radius: 8px !important;
    font-family: var(--font-modern) !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    transition: var(--transition-swift) !important;
    backdrop-filter: blur(5px);
}

.modal-input:focus {
    outline: none !important;
    border-color: var(--scorpion-orange) !important;
    background: rgba(45, 55, 72, 0.7) !important;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3),
                inset 0 0 10px rgba(255, 107, 53, 0.1) !important;
}

.modal-input::placeholder {
    color: rgba(247, 250, 252, 0.6) !important;
    font-style: italic;
}

.modal-textarea {
    padding: 12px 15px !important;
    width: 100% !important;
    color: var(--light) !important;
    background: rgba(45, 55, 72, 0.5) !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-radius: 8px !important;
    font-family: var(--font-modern) !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    height: 100px !important;
    resize: vertical !important;
    transition: var(--transition-swift) !important;
    backdrop-filter: blur(5px);
}

.modal-textarea:focus {
    outline: none !important;
    border-color: var(--scorpion-orange) !important;
    background: rgba(45, 55, 72, 0.7) !important;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3),
                inset 0 0 10px rgba(255, 107, 53, 0.1) !important;
}

.modal-textarea::placeholder {
    color: rgba(247, 250, 252, 0.6) !important;
    font-style: italic;
}

.modal-checkbox-container {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 5px !important;
}

.modal-checkbox {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--scorpion-orange) !important;
    cursor: pointer !important;
}

.modal-checkbox-label {
    color: var(--light) !important;
    font-family: var(--font-modern) !important;
    font-size: 14px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.modal-required {
    color: var(--scorpion-orange) !important;
    font-size: 16px !important;
    font-family: var(--font-modern) !important;
    font-weight: bold !important;
}

.modal-captcha-container {
    padding: 20px 0px !important;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    margin-top: 10px !important;
}

.modal-captcha-parent {
    width: 100% !important;
    min-width: 170px !important;
    position: relative;
}

.modal-captcha-refresh {
    cursor: pointer !important;
    float: right !important;
    margin-right: 4px !important;
    margin-bottom: 10px !important;
    filter: brightness(0) invert(1);
    transition: var(--transition-swift);
}

.modal-captcha-refresh:hover {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(15deg) saturate(3);
    transform: rotate(180deg);
}

.modal-captcha-div {
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

.modal-captcha-input {
    margin-top: 10px !important;
}

.modal-captcha-required {
    color: var(--scorpion-orange) !important;
    font-size: 16px !important;
    font-family: var(--font-modern) !important;
    margin-top: -16px !important;
    margin-right: -2px !important;
    float: right !important;
}

.modal-divider {
    border-bottom: 1px solid rgba(255, 107, 53, 0.2) !important;
    margin-top: 20px !important;
    clear: both !important;
}

.modal-required-text {
    color: var(--scorpion-orange) !important;
    font-size: 12px !important;
    font-family: var(--font-modern) !important;
    padding: 15px 0px !important;
    font-style: italic !important;
}

.modal-submit-container {
    padding: 20px 0px !important;
    text-align: center !important;
}

.modal-submit-btn {
    cursor: pointer !important;
    appearance: none !important;
    border-radius: 50px !important;
    background: var(--brand-gradient) !important;
    outline: none !important;
    padding: 15px 40px !important;
    text-align: center !important;
    color: var(--light) !important;
    font-size: 18px !important;
    font-family: var(--font-gaming) !important;
    font-weight: 600 !important;
    border: 2px solid var(--scorpion-orange) !important;
    white-space: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: var(--transition-bounce) !important;
    position: relative !important;
    overflow: hidden !important;
}

.modal-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: transform 0.4s ease;
}

.modal-submit-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5),
                0 0 60px rgba(212, 175, 55, 0.3) !important;
    border-color: var(--royal-gold) !important;
}

.modal-submit-btn:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.modal-privacy-notes {
    margin: 20px auto 0px !important;
    text-align: center !important;
    font-size: 12px !important;
    color: rgba(247, 250, 252, 0.7) !important;
    font-style: italic !important;
    line-height: 1.5 !important;
    padding: 15px !important;
    background: rgba(255, 107, 53, 0.05) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 107, 53, 0.1) !important;
}

/* =====================================================
   MODAL RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 85vh;
        margin: 10px;
        border-radius: 15px;
    }
    
    .modal-heading {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .modal-logo {
        width: 120px !important;
    }
    
    .modal-input,
    .modal-textarea {
        height: 40px !important;
        padding: 10px 12px !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .modal-textarea {
        height: 80px !important;
    }
    
    .modal-submit-btn {
        padding: 12px 30px !important;
        font-size: 16px !important;
        width: 100% !important;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 98%;
        max-height: 90vh;
        border-radius: 10px;
    }
    
    #sf3za16f2a5fc64ba68f846151ebdf1582671eebb9acb8aa49d6e17fe3b8592b7084 .SIGNUP_PAGE {
        padding: 20px !important;
    }
    
    .modal-heading {
        font-size: 20px !important;
    }
    
    .modal-field-group {
        padding: 10px 0px !important;
    }
    
    .modal-captcha-container {
        padding: 15px 0px !important;
    }
}/* =====================================================
   DIGITAL SCORPION INTERACTIVE - INDEX REDESIGN
   =====================================================
   A dynamic, multi-game themed design that captures
   the essence of adventure, fantasy, and puzzle gaming.
   Based on the original styles.css structure.
   
   Color Palette:
   - Primary: #FF6B35 (Scorpion Orange), #D4AF37 (Royal Gold)
   - Fantasy: #7C3AED (Deep Purple), #A78BFA (Light Purple)
   - Adventure: #00D4AA (Teal), #7ED321 (Lime Green)
   - Accent: #EC4899 (Magenta), #FDB462 (Flame)
   - Support: #1A202C (Shadow), #F7FAFC (Light)
   ===================================================== */

/* Import Google Fonts for gaming aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* =====================================================
   CSS VARIABLES & ROOT
   ===================================================== */
:root {
    /* Brand Color Palette */
    --scorpion-orange: #FF6B35;
    --royal-gold: #D4AF37;
    --deep-purple: #7C3AED;
    --light-purple: #A78BFA;
    --teal: #00D4AA;
    --lime-green: #7ED321;
    --magenta: #EC4899;
    --flame: #FDB462;
    --shadow: #1A202C;
    --dark-slate: #2D3748;
    --light: #F7FAFC;
    
    /* Dynamic Gradients */
    --brand-gradient: linear-gradient(135deg, var(--scorpion-orange) 0%, var(--royal-gold) 50%, var(--flame) 100%);
    --fantasy-gradient: linear-gradient(135deg, var(--deep-purple) 0%, var(--light-purple) 50%, var(--magenta) 100%);
    --adventure-gradient: linear-gradient(135deg, var(--teal) 0%, var(--lime-green) 100%);
    --hero-gradient: linear-gradient(45deg, var(--scorpion-orange) 0%, var(--deep-purple) 25%, var(--teal) 50%, var(--royal-gold) 75%, var(--magenta) 100%);
    --shadow-gradient: linear-gradient(to bottom, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.98) 100%);
    
    /* Typography */
    --font-gaming: 'Orbitron', monospace;
    --font-modern: 'Exo 2', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-swift: all 0.3s ease-out;
}

/* =====================================================
   GENERAL RESET & BODY STYLES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-modern), Arial, sans-serif;
    color: var(--light);
    background-color: var(--shadow);
    position: relative;
    overflow-x: hidden;
}

/* Animated background with game-themed particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--scorpion-orange), transparent),
        radial-gradient(2px 2px at 40% 70%, var(--teal), transparent),
        radial-gradient(1px 1px at 50% 50%, var(--light-purple), transparent),
        radial-gradient(1px 1px at 80% 10%, var(--royal-gold), transparent),
        radial-gradient(2px 2px at 90% 40%, var(--magenta), transparent);
    background-size: 400% 400%;
    animation: particleFloat 25s linear infinite;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) rotate(360deg);
        background-position: 0% 100%;
    }
}

/* =====================================================
   NAVBAR STYLES - GAMING HUD
   ===================================================== */
.navbar {
    background: var(--shadow-gradient);
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    border-image: var(--hero-gradient) 1;
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.3),
                0 0 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hero-gradient);
    background-size: 300% 100%;
    animation: energyFlow 5s linear infinite;
}

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

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.navbar.scrolled {
    background: rgba(26, 32, 44, 0.98);
    padding: 10px 20px;
    box-shadow: 0 8px 40px rgba(255, 107, 53, 0.4),
                0 0 80px rgba(0, 0, 0, 0.7);
}

.navbar__logo img {
    height: 50px;
    transition: var(--transition-swift);
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
}

.navbar.scrolled .navbar__logo img {
    height: 40px;
}

.navbar__logo:hover img {
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8))
            drop-shadow(0 0 60px rgba(212, 175, 55, 0.4));
    transform: scale(1.05);
}

.navbar__links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar__links li {
    position: relative;
}

.navbar__links a {
    color: var(--light);
    text-decoration: none;
    font-family: var(--font-gaming);
    font-weight: 500;
    font-size: 18px;
    padding: 8px 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-swift);
    position: relative;
}

.navbar__links a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: var(--brand-gradient);
    transition: transform 0.4s ease;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

.navbar__links a:hover {
    color: var(--royal-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8),
                 0 0 40px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

.navbar__links a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.navbar__links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: width 0.3s ease;
}

.navbar__links a:hover::after {
    width: 100%;
}

/* =====================================================
   HAMBURGER MENU - ENHANCED
   ===================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition-swift);
}

.hamburger i {
    color: var(--light);
    font-size: 24px;
    transition: var(--transition-swift);
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger:hover i {
    color: var(--royal-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.navbar__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--shadow-gradient);
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.3),
                0 0 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    border: 2px solid transparent;
    border-image: var(--hero-gradient) 1;
}

.navbar__links.active li {
    margin-bottom: 10px;
}

.navbar__links.active a {
    font-size: 24px;
}

/* =====================================================
   CAROUSEL STYLES - DYNAMIC HERO
   ===================================================== */
.carousel {
    position: relative;
    height: 95vh;
    overflow: hidden;
    margin-top: 80px;
}

.carouselSlide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: left;
    background-size: cover;
    background-position: center;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carouselSlide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(26, 32, 44, 0.9) 0%, 
        rgba(26, 32, 44, 0.3) 50%,
        transparent 100%);
    z-index: 1;
}

.carouselSlide.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: slideReveal 1s ease-out;
}

@keyframes slideReveal {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide-specific theming overlays */
.slide1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
    z-index: 1;
}

.slide2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.2) 0%, transparent 60%);
    z-index: 1;
}

.slide3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.slide1 {
    background-image: url('src/Index/Frogdoku-hero.png');
}

.slide2 {
    background-image: url('src/Index/tov.webp');
}

.slide3 {
    background-image: url('src/Index/aevorum.webp');
}

/* =====================================================
   CAROUSEL ARROWS - ENHANCED
   ===================================================== */
.carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: var(--light);
    background: var(--brand-gradient);
    padding: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    user-select: none;
    transition: var(--transition-bounce);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel__arrow:hover {
    color: var(--light);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5),
                0 0 40px rgba(212, 175, 55, 0.4);
    opacity: 1;
}

.carousel__arrow--left {
    left: 20px;
}

.carousel__arrow--right {
    right: 20px;
}

/* =====================================================
   HERO CONTENT - ENHANCED TYPOGRAPHY
   ===================================================== */
.hero__content {
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, 
        rgba(26, 32, 44, 0.9) 0%, 
        rgba(26, 32, 44, 0.4) 50%,
        transparent 100%);
    color: white;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    animation: heroContentReveal 1s ease-out 0.5s both;
}

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

.hero__content h1 {
    font-family: var(--font-gaming);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    background: var(--hero-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

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

.hero__content p {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light);
    line-height: 1.7;
    font-weight: 400;
    opacity: 0.95;
}

.hero__buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero__btn {
    padding: 12px 25px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--royal-gold);
    border-radius: 0;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hero__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    transition: left 0.5s ease;
    z-index: -1;
}

.hero__btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.hero__btn:hover {
    background-color: transparent;
    transform: translateY(-3px) scale(1.05);
    border-color: var(--scorpion-orange);
    color: var(--light);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4),
                0 0 60px rgba(212, 175, 55, 0.3);
}

.hero__btn:hover::before {
    left: 0;
}

.hero__btn:hover::after {
    transform: translate(-50%, -50%) scale(2);
}

/* =====================================================
   GAMES SHOWCASE SECTION - ENHANCED GRID
   ===================================================== */
.games {
    padding: 80px 20px;
    background: linear-gradient(135deg, 
        rgba(45, 55, 72, 0.8) 0%, 
        rgba(26, 32, 44, 0.9) 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.games h2 {
    font-family: var(--font-gaming);
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
    background: var(--hero-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.games h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--brand-gradient);
    background-size: 200% 100%;
    animation: energyFlow 3s linear infinite;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

.games__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    align-items: start;
    justify-items: center;
}

.game__card {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 2/3;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-bounce);
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        rgba(124, 58, 237, 0.05) 100%);
    border: 3px solid transparent;
    background-clip: padding-box;
}

.game__card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--hero-gradient);
    background-size: 400% 100%;
    animation: borderFlow 6s linear infinite;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.7;
}

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

.game__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    border-radius: 20px;
}

.game__card img {
    width: 100%;
    height: 100%;
    border-radius: 17px;
    transition: var(--transition-smooth);
    filter: brightness(0.9) contrast(1.1);
    object-fit: cover;
}

.game__card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.3),
                0 0 80px rgba(124, 58, 237, 0.2),
                inset 0 0 40px rgba(255, 255, 255, 0.1);
}

.game__card:hover::after {
    transform: translateX(100%);
}

.game__card:hover img {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.02);
}

/* =====================================================
   COMMUNITY SECTION - SOCIAL HUB
   ===================================================== */
.community {
    padding: 80px 20px;
    background: radial-gradient(ellipse at center, 
                    rgba(0, 212, 170, 0.1) 0%, 
                    transparent 70%),
                linear-gradient(135deg, 
                    var(--shadow) 0%, 
                    var(--dark-slate) 100%);
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.community::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(0, 212, 170, 0.1) 0%, 
        rgba(126, 211, 33, 0.05) 50%,
        transparent 70%);
    animation: communityPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes communityPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.community h2 {
    font-family: var(--font-gaming);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--adventure-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

.community p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--light);
    opacity: 0.9;
    line-height: 1.6;
}

.community__social {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--brand-gradient);
    border-radius: 50%;
    color: var(--light);
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social__link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: transform 0.4s ease;
}

.social__link:hover {
    color: var(--light);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5),
                0 0 60px rgba(212, 175, 55, 0.3);
}

.social__link:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.community__cta {
    background: var(--adventure-gradient);
    color: white;
    padding: 18px 40px;
    border: 2px solid var(--teal);
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.community__cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

.community__cta:hover {
    background: var(--adventure-gradient);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.5),
                0 0 60px rgba(126, 211, 33, 0.3);
    border-color: var(--lime-green);
    color: white;
}

.community__cta:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
}

/* =====================================================
   ENHANCED BUTTON STYLES
   ===================================================== */
.btn {
    background: var(--brand-gradient);
    color: white;
    padding: 12px 24px;
    border: 2px solid var(--scorpion-orange);
    cursor: pointer;
    border-radius: 50px;
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: transform 0.4s ease;
}

.btn:hover {
    background: var(--brand-gradient);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4),
                0 0 40px rgba(212, 175, 55, 0.3);
    border-color: var(--royal-gold);
    color: white;
}

.btn:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.modal__close {
    color: var(--light);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-swift);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.modal__close:hover {
    color: var(--scorpion-orange);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
    transform: scale(1.1);
}

/* =====================================================
   FOOTER - STUDIO SIGNATURE
   ===================================================== */
.footer {
    background: var(--shadow-gradient);
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    border-top: 3px solid transparent;
    border-image: var(--hero-gradient) 1;
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hero-gradient);
    background-size: 300% 100%;
    animation: energyFlow 6s linear infinite;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__content p {
    color: var(--light);
    font-family: var(--font-modern);
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer__links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 10px;
    gap: 30px;
}

.footer__links li {
    margin: 5px 0;
}

.footer__links a {
    color: var(--royal-gold);
    text-decoration: none;
    font-family: var(--font-tech);
    font-weight: 500;
    transition: var(--transition-swift);
    position: relative;
    padding: 8px 16px;
}

.footer__links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--scorpion-orange);
    transition: transform 0.3s ease;
}

.footer__links a:hover {
    color: var(--scorpion-orange);
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.7);
    text-decoration: none;
}

.footer__links a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* =====================================================
   ENHANCED GLOW EFFECTS - MULTI-GAME ENERGY
   ===================================================== */

/* Red glow becomes dynamic studio energy effect */
.red-glow {
    position: relative;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6),
                0 0 60px rgba(212, 175, 55, 0.4),
                0 0 90px rgba(124, 58, 237, 0.3),
                0 0 120px rgba(0, 212, 170, 0.2),
                inset 0 0 30px rgba(255, 107, 53, 0.3);
    border: 2px solid rgba(255, 107, 53, 0.6);
    animation: studioEnergyPulse 3s ease-in-out infinite;
}

@keyframes studioEnergyPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6))
                drop-shadow(0 0 40px rgba(212, 175, 55, 0.4));
        border-color: rgba(255, 107, 53, 0.6);
    }
    25% {
        filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.7))
                drop-shadow(0 0 50px rgba(167, 139, 250, 0.5));
        border-color: rgba(124, 58, 237, 0.7);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 212, 170, 0.8))
                drop-shadow(0 0 60px rgba(126, 211, 33, 0.6));
        border-color: rgba(0, 212, 170, 0.8);
    }
    75% {
        filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.7))
                drop-shadow(0 0 50px rgba(253, 180, 98, 0.5));
        border-color: rgba(236, 72, 153, 0.7);
    }
}

.red-glow::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--hero-gradient);
    background-size: 400% 100%;
    animation: energyFlow 8s linear infinite;
    opacity: 0.4;
    filter: blur(25px);
    border-radius: inherit;
    z-index: -1;
}

.red-glow:hover {
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.8),
                0 0 80px rgba(212, 175, 55, 0.6),
                0 0 120px rgba(124, 58, 237, 0.5),
                0 0 160px rgba(0, 212, 170, 0.4),
                inset 0 0 40px rgba(255, 107, 53, 0.4);
    animation: studioEnergyOverdrive 1.5s ease-in-out infinite;
}

@keyframes studioEnergyOverdrive {
    0%, 100% {
        transform: scale(1);
        filter: hue-rotate(0deg);
    }
    50% {
        transform: scale(1.02);
        filter: hue-rotate(30deg);
    }
}

/* =====================================================
   BLOG SECTION - CONTENT SHOWCASE (UPDATED)
   ===================================================== */
.blog {
    padding: 80px 20px;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.05) 0%, 
        rgba(26, 32, 44, 0.9) 100%);
    position: relative;
    z-index: 2;
}

.blog h2 {
    font-family: var(--font-gaming);
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: var(--fantasy-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s ease-in-out infinite;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.blog__card {
    background: linear-gradient(135deg, 
        rgba(45, 55, 72, 0.9) 0%, 
        rgba(26, 32, 44, 0.95) 100%);
    border-radius: 15px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.blog__card:hover {
    transform: translateY(-8px);
    border-color: var(--magenta);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3),
                0 0 60px rgba(236, 72, 153, 0.2);
}

.blog__card:hover::before {
    opacity: 1;
    transform: rotate(45deg) scale(1.2);
}

.blog__card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.blog__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog__card:hover .blog__card-image img {
    transform: scale(1.1);
}

.blog__card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog__card-content h3 {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.blog__card-content p {
    color: rgba(247, 250, 252, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    font-size: 0.95rem;
}

.blog__card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.blog__card-meta time {
    color: var(--light-purple);
    font-size: 0.85rem;
    font-family: var(--font-tech);
    font-weight: 500;
}

.blog__card-link {
    color: var(--magenta);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-tech);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-swift);
    font-size: 0.95rem;
}

.blog__card-link:hover {
    color: var(--light-purple);
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.6);
    transform: translateX(5px);
}

.blog__card-link i {
    font-size: 0.8rem;
    transition: var(--transition-swift);
}

.blog__card-link:hover i {
    transform: translateX(3px);
}

/* No content state */
.no-blog-content {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(247, 250, 252, 0.7);
    font-size: 1.1rem;
    padding: 40px;
}

/* Error state */
.blog__error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.blog__error p {
    color: rgba(247, 250, 252, 0.8);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.blog__more {
    text-align: center;
}

.blog__more .hero__btn {
    background: transparent !important;
    border: 3px solid var(--light-purple) !important;
    color: var(--light) !important;
    padding: 15px 35px !important;
    display: inline-block !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.blog__more .hero__btn::before {
    background: var(--fantasy-gradient) !important;
}

.blog__more .hero__btn:hover {
    border-color: var(--magenta) !important;
    color: var(--light) !important;
}

/* Responsive adjustments for blog cards */
@media (max-width: 1024px) {
    .blog__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .blog__card-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .blog__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }
    
    .blog__card-image {
        height: 180px;
    }
    
    .blog__card-content {
        padding: 20px;
    }
    
    .blog__card-content h3 {
        font-size: 1.2rem;
    }
    
    .blog h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .blog {
        padding: 60px 15px;
    }
    
    .blog__card-image {
        height: 160px;
    }
    
    .blog__card-content {
        padding: 15px;
    }
    
    .blog__card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .blog__card-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .blog__card-meta {
        padding-top: 10px;
    }
    
    .blog__card-meta time {
        font-size: 0.8rem;
    }
    
    .blog__card-link {
        font-size: 0.9rem;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - DESKTOP/LAPTOP SCREENS
   ===================================================== */
@media (max-width: 2560px) {
    .hero__content h1 {
        font-size: 56px;
    }
    .hero__content p {
        font-size: 24px;
    }
    .games h2 {
        font-size: 52px;
    }
    .community h2 {
        font-size: 46px;
    }
}

@media (max-width: 1920px) {
    .hero__content h1 {
        font-size: 48px;
    }
    .hero__content p {
        font-size: 20px;
    }
    .games h2 {
        font-size: 48px;
    }
    .community h2 {
        font-size: 42px;
    }
}

@media (max-width: 1680px) {
    .hero__content h1 {
        font-size: 42px;
    }
    .hero__content p {
        font-size: 18px;
    }
    .games h2 {
        font-size: 44px;
    }
    .community h2 {
        font-size: 38px;
    }
}

@media (max-width: 1600px) {
    .hero__content h1 {
        font-size: 40px;
    }
    .hero__content p {
        font-size: 18px;
    }
    .games h2 {
        font-size: 42px;
    }
    .community h2 {
        font-size: 36px;
    }
}

@media (max-width: 1440px) {
    .hero__content h1 {
        font-size: 38px;
    }
    .hero__content p {
        font-size: 16px;
    }
    .games h2 {
        font-size: 40px;
    }
    .community h2 {
        font-size: 34px;
    }
}

@media (max-width: 1366px) {
    .hero__content h1 {
        font-size: 36px;
    }
    .hero__content p {
        font-size: 16px;
    }
    .games h2 {
        font-size: 38px;
    }
    .community h2 {
        font-size: 32px;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - TABLET SCREENS
   ===================================================== */
@media (max-width: 1280px) {
    .hero__content h1 {
        font-size: 34px;
    }
    .hero__content p {
        font-size: 16px;
    }
    .games h2 {
        font-size: 36px;
    }
    .community h2 {
        font-size: 30px;
    }
}

@media (max-width: 1024px) {
    .hero__content h1 {
        font-size: 32px;
    }
    .hero__content p {
        font-size: 16px;
    }

    .games__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        align-items: start;
    }

    .game__card {
        width: 100%;
        max-width: 350px;
        aspect-ratio: 2/3;
    }

    .carousel {
        height: 60vh;
    }

    .games h2 {
        font-size: 34px;
    }
    
    .community h2 {
        font-size: 28px;
    }

    .community__social {
        gap: 20px;
    }

    .social__link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .social__link i {
        font-size: 20px !important;
        color: var(--light) !important;
        z-index: 10 !important;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - SMARTPHONE SCREENS
   ===================================================== */
@media (max-width: 720px) {
    .hero__content h1 {
        font-size: 28px;
    }
    .hero__content p {
        font-size: 14px;
    }

    .hero__btn {
        font-size: 14px;
        padding: 10px 20px;
        letter-spacing: 1px;
    }

    .games__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .game__card {
        width: 100%;
        max-width: 300px;
        aspect-ratio: 2/3;
    }

    .carousel {
        height: 50vh;
    }

    .carousel__arrow {
        font-size: 36px;
        padding: 15px;
        width: 65px;
        height: 65px;
    }

    .carousel__arrow--left {
        left: 15px;
    }

    .carousel__arrow--right {
        right: 15px;
    }

    .games h2 {
        font-size: 30px;
    }
    
    .community h2 {
        font-size: 26px;
    }

    .community p {
        font-size: 18px;
    }

    .community__cta {
        padding: 15px 30px;
        font-size: 16px;
    }

    .blog__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer__links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 414px) {
    .hero__content h1 {
        font-size: 24px;
    }
    .hero__content p {
        font-size: 12px;
    }

    .games h2 {
        font-size: 26px;
    }
    
    .community h2 {
        font-size: 22px;
    }
}

@media (max-width: 375px) {
    .hero__content h1 {
        font-size: 22px;
    }
    .hero__content p {
        font-size: 12px;
    }

    .games h2 {
        font-size: 24px;
    }
    
    .community h2 {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .hero__content h1 {
        font-size: 20px;
    }
    .hero__content p {
        font-size: 10px;
    }

    .game__card {
        width: 100%;
        height: auto;
    }

    .carousel {
        height: 50vh;
    }

    .games h2 {
        font-size: 22px;
    }
    
    .community h2 {
        font-size: 18px;
    }

    .hero__btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .community__cta {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* =====================================================
   HAMBURGER MENU RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .navbar__links {
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    .hamburger {
        display: flex;
    }

    .navbar__links.active {
        display: flex;
    }

    .navbar__links.active a {
        font-size: 20px;
        padding: 12px 20px;
    }
}

/* =====================================================
   SPECIAL EFFECTS & ANIMATIONS
   ===================================================== */

/* Gaming cursor effects */
body {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="8" fill="%23FF6B35" opacity="0.8"/><circle cx="16" cy="16" r="4" fill="%23D4AF37"/></svg>'), auto;
}

a, button, .game__card, .carousel__arrow {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="10" fill="%237C3AED" opacity="0.8"/><circle cx="16" cy="16" r="6" fill="%23EC4899"/></svg>'), pointer;
}

/* Lazy loading fade-in */
.lazyload {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.lazyload.loaded {
    opacity: 1;
}

/* =====================================================
   ACCESSIBILITY ENHANCEMENTS
   ===================================================== */
.hero__btn:focus,
.community__cta:focus,
.navbar__links a:focus,
.game__card:focus,
.social__link:focus,
.btn:focus {
    outline: 3px solid var(--royal-gold);
    outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero__btn,
    .community__cta,
    .btn {
        border-width: 4px;
    }
    
    .game__card,
    .blog__card {
        border: 3px solid var(--light);
    }
    
    .navbar {
        border-bottom-width: 5px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    body::before {
        animation: none;
        opacity: 0.2;
    }
}

/* =====================================================
   SCROLLBAR STYLING - GAMING THEME
   ===================================================== */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: var(--shadow);
    border: 2px solid var(--dark-slate);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-gradient);
    border-radius: 8px;
    border: 2px solid var(--shadow);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hero-gradient);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7),
                0 0 20px rgba(255, 107, 53, 0.5);
}

/* =====================================================
   SELECTION STYLING
   ===================================================== */
::selection {
    background: var(--scorpion-orange);
    color: var(--light);
    text-shadow: none;
}

::-moz-selection {
    background: var(--scorpion-orange);
    color: var(--light);
    text-shadow: none;
}

/* =====================================================
   LOADING STATES & PAGE TRANSITIONS
   ===================================================== */

/* Page load animation */
body {
    animation: pageReveal 1.2s ease-out;
}

@keyframes pageReveal {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Section reveal on scroll */
.games,
.community,
.blog {
    animation: sectionSlideUp 0.8s ease-out;
}

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

/* =====================================================
   FINAL POLISH & PERFORMANCE
   ===================================================== */

/* Smooth hover transitions for all interactive elements */
a:not(.hero__btn):not(.community__cta):not(.btn):hover,
button:not(.hero__btn):not(.community__cta):not(.btn):hover {
    color: var(--royal-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: var(--transition-swift);
}

/* Performance optimizations */
.game__card img,
.carousel {
    will-change: transform;
}

.carouselSlide {
    will-change: transform, opacity;
}

/* Subtle texture overlay for depth */
.games::after,
.community::after,
.blog::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.3;
}