/* Font Faces */
@font-face {
    font-family: 'Ethnocentric';
    src: url('fonts/ethnocentric-rg.woff2') format('woff2'),
         url('fonts/ethnocentric-rg.woff') format('woff');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'Chakra Petch';
    src: url('fonts/ChakraPetch-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

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

body {
    font-family: 'Chakra Petch', sans-serif;
    background: #1c232e;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container and Layout */
.container {
    position: relative;
    min-height: 100vh;
    background: url('img/bg.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 35, 46, 0.7);
    z-index: 1;
}

.main-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* Logo */
.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
}

.logo.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Content Card */
.content-card {
    backdrop-filter: blur(10px);
    background: rgba(17, 17, 17, 0.3);
    border: 2px solid;
    border-top-color: rgba(255, 255, 255, 0.3);
    border-bottom-color: rgba(255, 255, 255, 0.5);
    border-left-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
}

.content-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
.main-title {
    font-family: 'Ethnocentric', sans-serif;
    font-size: 3rem;
    color: #ffdc00;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.subtitle {
    font-family: 'Ethnocentric', sans-serif;
    font-size: 1.2rem;
    color: #ffdc00;
    margin-bottom: 20px;
    font-weight: normal;
    letter-spacing: 1px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button */
.cta-section {
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffdc00;
    color: #000000;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 220, 0, 0.3);
}

.cta-button:hover {
    background: #fff200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 220, 0, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 120px;
}

.feature:hover {
    background: rgba(255, 220, 0, 0.1);
    border-color: rgba(255, 220, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.feature span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content-card {
        padding: 30px 20px;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .features {
        gap: 20px;
    }
    
    .feature {
        min-width: 100px;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 200px;
    }
}

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.cta-button:focus,
.feature:focus {
    outline: 2px solid #ffdc00;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .content-card {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid #ffffff;
    }
    
    .feature {
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid #ffffff;
    }
}
