/* ========================================
   GENERAL STYLES - Dev Overworld
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2892d9;
    --secondary-color: #eed745;
    --dark-bg: #0f0f1e;
    --card-bg: #1f1f35;
    --text-light: #e0e0e0;
    --text-dark: #0f0f1e;
    --accent-color: #48e1ec;
    --hover-color: #214bb6;
    --grad-primary: #126dab;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    background: linear-gradient(135deg, #0c0a27 0%, #1a383a 100%);
    box-shadow: 0 2px 20px rgba(0, 102, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

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

.nav-logo a {
    color: var(--secondary-color);
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav-link:hover {
    color: var(--secondary-color);
    background-color: rgba(0, 102, 255, 0.1);
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #30344e 0%, #2d3669 100%);
    list-style: none;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.2);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 2px solid var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 102, 255, 0.15);
    color: var(--secondary-color);
    padding-left: 30px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: radial-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.3)), url('./art/map_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment:local;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, rgba(20, 126, 145, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 200px;
    background: radial-gradient(circle, rgba(18, 60, 67, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 600px;
    padding: 10px;
}

.hero h1 {
    font-size: 70px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--grad-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.hero p {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: left;
}

/* ========================================
   BUTTONS
   ======================================== */
.cta-button,
.cta-button-secondary {
    padding: 15px 40px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.6);
}

.cta-button-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-button-secondary:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 20px;
}

.features h2 {
    font-size: 44px;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    opacity: 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, #2a2f4a 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.1s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 100px -20px var(--hover-color);
    border-color: var(--primary-color);
}

.feature-card i {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 20px;
    text-align: center;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 44px;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: var(--text-light);
    padding: 60px 20px 20px;
    border-top: 2px solid var(--primary-color);
}

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

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    color: var(--text-light);
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        top: -250px;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(26, 31, 58, 0.8);
        border-top: none;
        border-left: 3px solid var(--primary-color);
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 20px 10px 30px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .features h2,
    .cta-section h2 {
        font-size: 32px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 30px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */
@media (max-width: 480px) {
    .nav-container {
        height: 60px;
    }

    .nav-logo a {
        font-size: 22px;
    }

    .hero {
        min-height: 400px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button,
    .cta-button-secondary {
        padding: 12px 30px;
        font-size: 14px;
    }

    .features {
        margin: 50px auto;
    }

    .features h2 {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 25px;
    }

    .feature-card i {
        font-size: 40px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .cta-section {
        padding: 50px 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ========================================
   PAGE CONTENT STYLES
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 50px 20px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.page-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px 60px;
}

.page-content h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    margin-top: 40px;
}

.page-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2a2f4a 100%);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.content-card h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.content-card p {
    color: var(--text-light);
}
