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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #000;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(0, 0, 0, 0.7);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
    min-width: 200px;
}

.nav-links:first-child {
    justify-content: flex-start;
}

.nav-links:last-child {
    justify-content: flex-end;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f0c040;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #f0c040;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-brand {
    text-align: center;
    color: #fff;
}

.nav-brand a {
    color: inherit;
    text-decoration: none;
}

.nav-brand a:hover {
    text-decoration: none;
}

.nav-brand h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #f0c040, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand p {
    font-size: 12px;
    font-weight: 300;
    color: #ccc;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%), url('/images/main.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 40px;
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #f0c040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
}

/* Content Sections */
.content-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #333;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(1.2);
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
}

.section-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 60px;
}

.section-info {
    flex: 1;
    max-width: 600px;
}

.section-info h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #f0c040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-info p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

.section-action {
    flex-shrink: 0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: rgba(240, 192, 64, 0.1);
    border: 2px solid #f0c040;
    color: #f0c040;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: #f0c040;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(240, 192, 64, 0.3);
}

.action-btn i {
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: translateX(5px);
}

.search-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 150px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
}

.search-input::placeholder {
    color: #ccc;
}

.search-input option {
    background: #333;
    color: #fff;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #f0c040;
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.search-btn:hover {
    background: #e6b13d;
    transform: translateY(-2px);
}

/* Guide Highlights */
.guide-highlights {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-item i {
    color: #f0c040;
    font-size: 18px;
}

.highlight-item span {
    color: #fff;
    font-weight: 500;
}

/* Error Code Widget */
.error-code-widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.widget-header i {
    color: #ff6b6b;
    font-size: 24px;
}

.widget-header span {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.code-input-container {
    display: flex;
    gap: 10px;
}

.code-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.code-input::placeholder {
    color: #ccc;
}

.lookup-btn {
    padding: 15px 20px;
    background: #ff6b6b;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lookup-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #f0c040;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f0c040;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f0c040;
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 40px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .section-content {
        padding: 0 20px;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .section-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
        min-width: auto;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section-info h3 {
        font-size: 2rem;
    }
    
    .search-row {
        flex-direction: column;
    }
    
    .guide-highlights {
        flex-direction: column;
    }
    
    .footer-content {
        padding: 0 20px;
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 20px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-info h3 {
        font-size: 1.5rem;
    }
    
    .search-container,
    .error-code-widget,
    .mods-carousel {
        padding: 20px;
    }
}
