/* Additional Styles for Pages */

/* Login Page */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1542361345-89e58247f2d5?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
}
.auth-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(10, 10, 15, 0.85);
}
.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    margin-top: 40px;
}
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-header h2 { font-size: 2rem; margin-bottom: 10px; }
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-footer a {
    color: var(--primary);
}

/* Dashboard Page */
.dashboard-section {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}
.dashboard-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}
.profile-card {
    text-align: center;
    position: sticky;
    top: 120px;
}
.avatar-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 3px;
}
.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.stat-box {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}
.stat-value {
    font-weight: bold;
    color: #22c55e;
}
.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.info-card {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}
.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}
.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.info-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.info-data {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 5px;
}
.transaction-list {
    margin-top: 20px;
}
.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.transaction-item:last-child {
    border-bottom: none;
}
.t-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.t-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.t-amount.positive { color: #22c55e; }
.t-amount.negative { color: #ef4444; }

/* Rules Page */
.rules-section {
    padding-top: 120px;
    min-height: 100vh;
}
.rule-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}
.rule-block h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rule-block ul {
    list-style: none;
    color: var(--text-muted);
}
.rule-block ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}
.rule-block ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .profile-card {
        position: static;
    }
}

/* ========================================= */
/* NEW REDESIGNED INDEX HERO & FEATURES CSS  */
/* ========================================= */

.new-hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    background: url('assets/img/bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -80px; /* Offset navbar */
}

.hero-gradient-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(5,5,8,0.95) 0%, rgba(5,5,8,0.7) 40%, rgba(5,5,8,0.2) 100%);
    z-index: 1;
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--dark-bg), transparent);
    z-index: 2;
}

.hero-split-layout {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 80px;
}

.hero-left-content {
    max-width: 650px;
    animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.server-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 42, 42, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 12px; height: 12px;
    background: #ff2a2a;
    border-radius: 50%;
    box-shadow: 0 0 15px #ff2a2a;
    animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
    from { box-shadow: 0 0 10px #ff2a2a, 0 0 20px #ff2a2a; }
    to { box-shadow: 0 0 5px #ff2a2a, 0 0 10px #ff2a2a; }
}

.hero-mega-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.title-line { display: block; }
.title-line-1 { color: #fff; }
.title-line-2 { 
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 42, 42, 0.6);
    letter-spacing: -2px;
}
.title-line-3 { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.5); }

.hero-mega-subtitle {
    font-size: 1.15rem;
    color: #c0c0c0;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 550px;
}

.hero-mega-buttons {
    display: flex;
    gap: 20px;
}

.btn-mega {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-mega-primary {
    background: linear-gradient(45deg, #ff2a2a, #8c52ff);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 42, 42, 0.3);
}

.btn-mega-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(140, 82, 255, 0.5);
}

.btn-mega-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: #fff;
}

.btn-mega-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-5px);
}

/* Floating Stats */
.hero-right-content {
    animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

.floating-stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floating-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px 30px;
    border-radius: 16px;
    transform-origin: right center;
    transition: all 0.4s ease;
}

.floating-stat-card:hover {
    transform: translateX(-10px) scale(1.05);
    border-color: rgba(140, 82, 255, 0.4);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
}

.stat-1 { margin-left: 0; }
.stat-2 { margin-left: -40px; }
.stat-3 { margin-left: -80px; }

.stat-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-info h3 {
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Features */
.premium-features {
    background-color: var(--dark-bg);
    position: relative;
    z-index: 5;
}

.section-header-left {
    margin-bottom: 60px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin-top: 15px;
}

.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.modern-feature-card {
    background: #0d0d12;
    border: 1px solid rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.modern-feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 42, 42, 0.2);
}

.card-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,42,42,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.4s ease;
}

.modern-feature-card:hover .card-glow {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(140,82,255,0.2) 0%, transparent 70%);
}

.mf-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 25px;
    display: inline-block;
}

.modern-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.modern-feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .hero-split-layout {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .hero-gradient-overlay {
        background: linear-gradient(to bottom, rgba(5,5,8,0.8) 0%, rgba(5,5,8,0.95) 100%);
    }
    .hero-mega-title { font-size: 3.5rem; }
    .hero-mega-buttons { justify-content: center; flex-wrap: wrap; }
    .stat-1, .stat-2, .stat-3 { margin-left: 0; }
    .modern-features-grid { grid-template-columns: 1fr; }
}


@media (max-width: 768px) {
    .hero-mega-title { font-size: 2.8rem; }
    .hero-mega-subtitle { font-size: 1rem; }
    .btn-mega { padding: 12px 20px; font-size: 1rem; width: 100%; justify-content: center; }
    
    .floating-stats-wrapper { flex-direction: column; gap: 15px; }
    .floating-stat-card { justify-content: center; transform: none !important; margin-left: 0 !important; }
    .floating-stat-card:hover { transform: translateY(-5px) !important; }
    
    .store-grid { grid-template-columns: 1fr; }
    .rules-section h1 { font-size: 2.5rem !important; }
}

@media (max-width: 576px) {
    .hero-mega-title { font-size: 2.2rem; }
    .hero-split-layout { padding-top: 60px; }
    .section-title { font-size: 2rem; }
    
    .modern-feature-card { padding: 25px; }
    .mf-icon { font-size: 2.5rem; }
    .modern-feature-card h3 { font-size: 1.3rem; }
}


.apply-form-grid { grid-template-columns: 1fr 1fr; }
@media(max-width: 768px) {
    .apply-form-grid { grid-template-columns: 1fr; }
}


.admin-grid { grid-template-columns: 2fr 1fr; }
@media(max-width: 992px) {
    .admin-grid { grid-template-columns: 1fr; }
}

