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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #c9a961;
    --accent-color: #8b7355;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --gradient-start: rgba(44, 62, 80, 0.95);
    --gradient-end: rgba(52, 73, 94, 0.85);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}

/* Background with animated pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(201, 169, 97, 0.03) 2px,
            rgba(201, 169, 97, 0.03) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(201, 169, 97, 0.03) 2px,
            rgba(201, 169, 97, 0.03) 4px
        );
    animation: patternMove 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

/* Curtain Animation */
.curtain-left,
.curtain-right {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to bottom, #1a1a2e 0%, #16213e 100%);
    z-index: 1000;
    transition: transform 2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.curtain-left {
    left: 0;
    transform-origin: left;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
}

.curtain-right {
    right: 0;
    transform-origin: right;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

body.loaded .curtain-left {
    transform: translateX(-100%);
}

body.loaded .curtain-right {
    transform: translateX(100%);
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out 0.5s both;
}

.logo h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.5rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

.logo-subtitle {
    font-size: 1rem;
    letter-spacing: 0.3rem;
    color: var(--text-light);
    opacity: 0.8;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    text-align: center;
    max-width: 900px;
    animation: fadeIn 1s ease-out 1s both;
}

.title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(236, 240, 241, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 1.4s both;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 1.6s both;
}

.feature {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.feature p {
    color: rgba(236, 240, 241, 0.7);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    animation: fadeIn 1s ease-out 2.2s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.copyright {
    color: rgba(236, 240, 241, 0.5);
    font-size: 0.9rem;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .logo h1 {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.2rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
}