/* ======================================
   Trivia Expert - Main CSS File
   ====================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #4A9DB8 0%, #5BA4C2 25%, #6BB6CC 50%, #5BA4C2 75%, #4A9DB8 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: white;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4A9DB8 0%, #5BA4C2 25%, #6BB6CC 50%, #5BA4C2 75%, #4A9DB8 100%);
    z-index: -2;
}

/* ======================================
   FLOATING BACKGROUND ELEMENTS
   ====================================== */

.floating-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: rgba(74, 157, 184, 0.3);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(74, 157, 184, 0.5);
}

.floating-shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.floating-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 15%;
    animation-delay: 6s;
    animation-duration: 10s;
}

.floating-shape:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 35%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.floating-shape:nth-child(5) {
    width: 200px;
    height: 200px;
    bottom: 5%;
    right: 5%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-rise 20s linear infinite;
}

/* ======================================
   NAVBAR STYLES
   ====================================== */

.navbar {
    background: rgba(74, 157, 184, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(74, 157, 184, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(74, 157, 184, 0.95) !important;
    backdrop-filter: blur(30px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: white !important;
    font-size: 1.2rem;
}

.navbar-brand .logo {
    border-radius: 8px;
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px !important;
    border-radius: 20px;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* ======================================
   HERO/LANDING PAGE STYLES
   ====================================== */

.wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-container {
    text-align: center;
    z-index: 10;
    background: rgba(74, 157, 184, 0.2);
    backdrop-filter: blur(25px);
    border-radius: 35px;
    padding: 80px 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    animation: heroSlideIn 1.2s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 157, 184, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.brand-logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #1e3a8a, #1e40af);
    border-radius: 25px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    animation: logoPulse 3s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
    position: relative;
    z-index: 2;
}

.brand-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    animation: titleGlow 4s ease-in-out infinite alternate;
    letter-spacing: -3px;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.brand-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease-out 0.4s both;
    position: relative;
    z-index: 2;
}

.welcome-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    animation: fadeInUp 1.2s ease-out 0.6s both;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.action-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInUp 1.2s ease-out 0.8s both;
    position: relative;
    z-index: 2;
}

/* ======================================
   BUTTON STYLES
   ====================================== */

.btn-modern {
    padding: 20px 50px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary-modern {
    background: linear-gradient(45deg, #1e3a8a, #1e40af) !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4) !important;
}

.btn-primary-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.5) !important;
    background: linear-gradient(45deg, #1e40af, #2563eb) !important;
    color: white !important;
    text-decoration: none;
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.btn-modern-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #1e3a8a, #1e40af) !important;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.btn-modern-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.5) !important;
    background: linear-gradient(45deg, #1e40af, #2563eb) !important;
}

.btn-round {
    border-radius: 25px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-info {
    background: linear-gradient(45deg, #1e3a8a, #1e40af) !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3) !important;
}

.btn-info:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4) !important;
    background: linear-gradient(45deg, #1e40af, #2563eb) !important;
}

/* ======================================
   FORM STYLES
   ====================================== */

.signin-container,
.signup-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
    animation: slideInUp 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.signin-container::before,
.signup-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

.signin-header,
.signup-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.signin-icon,
.signup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #1e3a8a, #1e40af);
    border-radius: 20px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.signin-title,
.signup-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.signin-subtitle,
.signup-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
}

.form-modern {
    position: relative;
    z-index: 2;
}

.input-group-modern {
    position: relative;
    margin-bottom: 25px;
}

.input-group-modern .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    font-size: 18px;
    z-index: 3;
}

.form-control-modern {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 15px;
    color: black;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control-modern::placeholder {
    color: grey !important;
}

.form-control-modern:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
    color: black !important;
}

.form-control-modern:focus + .input-icon {
    color: black;
}

.form-links {
    text-align: center;
    margin: 25px 0;
    position: relative;
    z-index: 2;
}

.form-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.form-links a:hover {
    color: white;
    text-decoration: none;
}

.form-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
}

.form-links a:hover::after {
    width: 100%;
}

/* ======================================
   DASHBOARD STYLES
   ====================================== */

.dashboard-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.welcome-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
}

.user-info {
    font-size: 4rem;
    font-weight: 300;
    opacity: 0.7;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.status-card {
    text-align: center;
    position: relative;
    z-index: 2;
}

.status-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #1e3a8a, #1e40af);
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.status-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: capitalize;
}

/* ======================================
   SUBSCRIPTION PLANS
   ====================================== */

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.plan-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    backdrop-filter: blur(10px);
}

.plan-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.plan-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.plan-card p {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 10px 0;
    color: #00f2c3;
}

.plan-card span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ======================================
   PROGRESS & CHARTS
   ====================================== */

.progress-section {
    position: relative;
    z-index: 2;
}

.progress-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
}

.progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 8px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.progress {
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(45deg, #00f2c3, #1d8cf8);
    border-radius: 10px;
    transition: width 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======================================
   FEATURES SECTION
   ====================================== */

.features-section {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #1e3a8a, #1e40af);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 16px;
    color: white;
}

.feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ======================================
   TABS & NAVIGATION
   ====================================== */

.nav-tabs {
    border: none;
    justify-content: center;
    margin-bottom: 25px;
}

.nav-tabs .nav-item {
    margin: 0 5px;
}

.nav-tabs .nav-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(45deg, #00f2c3, #1d8cf8);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 195, 0.3);
}

.nav-tabs .nav-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* ======================================
   MODAL STYLES
   ====================================== */

.modal-content {
    background: rgba(74, 157, 184, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 25px !important;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ======================================
   ALERTS
   ====================================== */

.alert-modern {
    background: rgba(0, 242, 195, 0.15);
    border: 1px solid rgba(0, 242, 195, 0.3);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInDown 0.5s ease-out;
    position: relative;
    z-index: 2;
}

.alert-modern .close {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    text-shadow: none;
}

.alert-modern .close:hover {
    color: white;
}

/* ======================================
   CUSTOM CURSOR
   ====================================== */

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

/* ======================================
   RIPPLE EFFECT
   ====================================== */

.btn-modern,
.btn-modern-submit {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}

/* ======================================
   ANIMATIONS
   ====================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

@keyframes particle-rise {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

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

@keyframes titleGlow {
    0% { 
        text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.15);
        transform: scale(1.01);
    }
}

@keyframes heroSlideIn {
    0% {
        transform: translateY(80px) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes slideInUp {
    0% {
        transform: translateY(60px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes glow {
    0% { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
    100% { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.1); }
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */

@media (max-width: 768px) {
    .hero-container,
    .signin-container,
    .signup-container {
        padding: 50px 30px;
        margin: 20px;
        margin-top: 40px; /* Extra top margin on mobile */
    }
    
    .wrapper {
        padding-top: 100px; /* Adjusted for mobile navbar */
    }
    
    .profile-page .wrapper {
        padding-top: 120px; /* Dashboard mobile padding */
    }
    
    .dashboard-header {
        margin-top: 20px; /* Reduced margin on mobile */
    }
    
    .brand-title,
    .signin-title,
    .signup-title {
        font-size: 2rem;
    }

    .brand-subtitle,
    .signin-subtitle,
    .signup-subtitle {
        font-size: 1.2rem;
    }

    .btn-modern {
        padding: 18px 40px;
        font-size: 1.1rem;
    }

    .brand-logo,
    .signin-icon,
    .signup-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .welcome-title {
        font-size: 2.5rem;
    }
    
    .user-info {
        font-size: 2.5rem;
    }

    .dashboard-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-modern {
        width: 100%;
        max-width: 300px;
    }

    .plans {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .brand-title,
    .signin-title,
    .signup-title {
        font-size: 2.5rem;
    }
    
    .hero-container,
    .signin-container,
    .signup-container {
        padding: 40px 25px;
    }

    .signin-title,
    .signup-title {
        font-size: 1.8rem;
    }
}

/* ======================================
   UTILITY CLASSES
   ====================================== */

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

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.gap-15 {
    gap: 15px;
}

.opacity-6 {
    opacity: 0.6;
}

.opacity-7 {
    opacity: 0.7;
}

.opacity-8 {
    opacity: 0.8;
}

/* ======================================
   GAME SPECIFIC STYLES
   ====================================== */

.answer-item {
    width: 450px;
    max-width: 450px;
    min-width: 450px;
    min-height: 70px;
    text-align: center;
}

.margined {
    padding: 5px;
}

.answerRight {
    background-color: transparent !important;
    color: #00f2c3;
    font-size: 50px;
}

.answerWrong {
    background-color: transparent !important;
    color: #fd5d93;
    font-size: 50px;
}

.swal-text {
    font-size: 40px;
    color: #f4f5f7;
}

/* ======================================
   TABLE STYLES
   ====================================== */

.table-responsive {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.table-dark {
    background: transparent;
    color: white;
}

.table-dark th,
.table-dark td {
    border-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
}

.table-dark thead th {
    background: rgba(30, 58, 138, 0.3);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ======================================
   ACTION BUTTONS
   ====================================== */

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-danger-modern {
    background: linear-gradient(45deg, #fd5d93, #ff4081);
    color: white;
    box-shadow: 0 8px 25px rgba(253, 93, 147, 0.3);
}

.btn-danger-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(253, 93, 147, 0.4);
    color: white;
    text-decoration: none;
}

/* ======================================
   DIVIDER TEXT
   ====================================== */

.divider-text {
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 400;
}