@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary: #4a0072;
    --primary-light: #6a1b9a;
    --primary-dark: #38005c;
    --secondary: #121212;
    --accent: #ffc107;
    --accent-dark: #ff9800;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --bg: #1a1a1a;
    --card-bg: #242424;
    --border: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(74, 0, 114, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(74, 0, 114, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.8rem;
}

.logo-text {
    color: var(--text);
    margin-right: 5px;
}

.logo-number {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

.main-menu {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover:before {
    width: 70%;
}

/* Hero Section */
.hero-banner {
    text-align: center;
    padding: 80px 20px;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-banner:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s infinite linear;
}

@keyframes pulse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.highlight {
    color: var(--accent);
    position: relative;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 193, 7, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Content Card */
.content-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    margin: 40px 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.subpage-content {
    display: flex;
    flex-direction: column;
}

/* Logo Container */
.logo-container {
    padding: 40px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.responsive-logo {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Main Content */
.main-content {
    padding: 40px;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.main-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* CTA Container */
.cta-container {
    margin-top: 30px;
    text-align: center;
}

.cta-button, .cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--secondary);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-button:before, .cta-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.cta-button:hover, .cta-link:hover {
    background: var(--accent-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.cta-button:hover:before, .cta-link:hover:before {
    left: 100%;
}

.btn-text {
    margin-right: 10px;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .btn-icon {
    transform: translateX(5px);
}

/* Page Links */
.page-links {
    padding: 40px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.page-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(74, 0, 114, 0.3);
}

.link-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.page-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
footer {
    background: var(--secondary);
    padding: 30px 0;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-banner h1 {
        font-size: 3rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 100px 30px 30px 30px;
        transition: right 0.3s ease;
        z-index: 100;
        gap: 20px;
    }
    
    .main-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 15px;
        width: 100%;
        text-align: center;
    }
    
    .hero-banner {
        padding: 60px 20px;
    }
    
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .main-content, .page-links, .logo-container {
        padding: 30px 20px;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button, .cta-link {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
    }
}