/* New View Styles - Page Content Only */

/* ========================================
   BACKGROUND STYLES
   ======================================== */

/* Body background wrapper */
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* Background container for overlays */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: -1;
    pointer-events: none;
}

/* Grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Main content layout */
main {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding-bottom: 120px; /* Space for fixed footer */
}

/* ========================================
   PAGE CONTENT STYLES
   ======================================== */

/* Container */
.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Page sections */
.page-section {
    padding: var(--space-16) 0;
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--white);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Background Responsive */
@media (max-width: 768px) {
    body::before {
        background: rgba(15, 23, 42, 0.8);
    }
    
    body::after {
        background-size: 30px 30px;
        background-image: 
            linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    }
    
    .container {
        padding: 0 var(--space-3);
    }
    
    .page-section {
        padding: var(--space-12) 0;
    }
    
    .page-title {
        font-size: var(--text-3xl);
    }
    
    .page-subtitle {
        font-size: var(--text-base);
    }
    
    main {
        padding-bottom: 100px; /* Reduced padding for mobile */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-2);
    }
    
    .page-section {
        padding: var(--space-8) 0;
    }
    
    .page-title {
        font-size: var(--text-2xl);
    }
    
    main {
        padding-bottom: 80px; /* Further reduced for small mobile */
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    body::before {
        background: rgba(15, 23, 42, 0.8);
    }
    
    body::after {
        background-image: 
            linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    }
}
