@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --text: #f8fafc;
    --text-secondary: rgba(248, 250, 252, 0.7);
    --bg: #0f172a;
    --card-bg: #1e293b;
    --border: rgba(248, 250, 252, 0.1);
    --radius: 12px;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, rgba(245, 158, 11, 0.03) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.75rem;
}

.brand-name {
    color: var(--text);
    margin-right: 8px;
}

.brand-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;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 22px;
    position: relative;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.navigation {
    display: flex;
    gap: 8px;
}

.nav-item {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
}

.nav-item:hover:before {
    width: 60%;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 70px 20px;
    margin-top: 25px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.accent-text {
    color: var(--accent);
    position: relative;
}

.accent-text:after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(245, 158, 11, 0.25);
    z-index: -1;
    border-radius: 3px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Main Card */
.main-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    margin: 35px 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* Special Offer */
.special-offer {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.special-offer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 25%);
}

.offer-badge {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.offer-heading {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--accent);
}

.special-offer p {
    margin-bottom: 14px;
    font-size: 1.05rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--secondary);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    position: relative;
    overflow: hidden;
}

.action-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.action-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.action-btn:hover:before {
    left: 100%;
}

.btn-label {
    margin-right: 8px;
}

.btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.action-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Content Area */
.content-area {
    padding: 35px;
    border-bottom: 1px solid var(--border);
}

.content-title {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.content-title:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.content-area p {
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.action-container {
    margin-top: 25px;
}

/* Link Section */
.link-section {
    padding: 35px;
    border-bottom: 1px solid var(--border);
}

.link-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.site-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(248, 250, 252, 0.04);
    color: var(--text);
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.site-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.link-icon {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.site-link:hover .link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Notice Box */
.notice-box {
    padding: 35px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.notice-symbol {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.notice-heading {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--accent);
}

/* Subpage Wrapper */
.subpage-wrapper {
    padding: 0;
}

/* Footer */
footer {
    background: var(--secondary);
    padding: 25px 0;
    border-top: 1px solid var(--border);
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-text {
    color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .link-container {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 90px 25px 25px 25px;
        transition: right 0.3s ease;
        z-index: 100;
        gap: 18px;
    }
    
    .navigation.active {
        right: 0;
    }
    
    .nav-item {
        padding: 14px;
        width: 100%;
        text-align: center;
    }
    
    .hero-section {
        padding: 55px 20px;
    }
    
    .hero-section h1 {
        font-size: 2.3rem;
    }
    
    .special-offer, .content-area, .link-section, .notice-box {
        padding: 28px 18px;
    }
    
    .link-container {
        grid-template-columns: 1fr;
    }
    
    .notice-box {
        flex-direction: column;
    }
    
    .footer-wrapper {
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.9rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .content-title {
        font-size: 1.4rem;
    }
    
    .offer-heading {
        font-size: 1.4rem;
    }
    
    .action-btn {
        padding: 12px 22px;
        font-size: 0.95rem;
    }
}