/* FONT DEFINITIONS */
@font-face {
    font-family: 'Mr Dodo Rounded Regular';
    src: url('../fonts/2DQGdEqgCP8j9XPUjXFDHGOyN0.woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Dalek Regular';
    src: url('../fonts/mCQelY0Q0wP3CHMatkIjCO0fPM.woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Mr Dodo Rounded Medium';
    src: url('../fonts/F9Izsx2dUTPKHYmT8KSTkFQPPt8.woff2');
    font-display: swap;
}

/* CSS VARIABLES */
:root {
    --font-dodo: 'Mr Dodo Rounded Regular', sans-serif;
    --font-dalek: 'Dalek Regular', sans-serif;
    --main-bg-color: #0a0e23;
    --footer-bg: #070a1a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0ff;
    --accent-color: #627eea;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* RESET AND BASE STYLES */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-dodo);
    background-color: var(--main-bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FLOATING LOGO */
#floating-logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

#mainImage {
    width: 40vmin;
    height: 40vmin;
    max-width: 400px;
    max-height: 400px;
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
    pointer-events: auto;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* HEADER AND NAVIGATION */
.header {
    position: relative;
    z-index: 100;
    width: 100%;
    padding: 1rem 0;
}

.navbar {
    width: 100%;
    background: rgba(10, 14, 35, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(98, 126, 234, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo-link {
    font-family: var(--font-dalek);
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-dalek);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--text-secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding-top: 80px;
}

.hero-container {
    text-align: center;
    width: 100%;
}

.hero-title {
    font-family: var(--font-dalek);
    font-size: clamp(3rem, 10vw, 8rem);
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(98, 126, 234, 0.5);
}

.hero-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-family: var(--font-dalek);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    padding: 0 2rem;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* MAIN CONTENT SECTIONS */
.main {
    position: relative;
    z-index: 3;
    background: var(--main-bg-color);
}

.section-title {
    font-family: var(--font-dalek);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

/* ABOUT SECTION */
.about-section {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* TOCOONOMICS SECTION */
.toconomics-section {
    padding: 5rem 0;
    background: rgba(7, 10, 26, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.toconomics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.toconomics-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(98, 126, 234, 0.2);
}

.card-title {
    font-family: var(--font-dalek);
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-divider {
    width: 60%;
    height: 2px;
    background: var(--accent-color);
    margin: 1rem auto;
}

.card-text {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.toconomics-image {
    display: flex;
    justify-content: center;
}

.toconomics-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.tax-info {
    text-align: center;
}

.tax-text {
    font-family: var(--font-dalek);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--text-secondary);
}

/* CONTRACT SECTION */
.contract-section {
    padding: 3rem 0;
}

.contract-info {
    text-align: center;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(98, 126, 234, 0.2);
}

.contract-title {
    font-family: var(--font-dalek);
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contract-address {
    font-size: 1.5rem;
    color: var(--text-primary);
    word-break: break-all;
    font-family: monospace;
}

/* CHART SECTION */
.chart-section {
    padding: 3rem 0 5rem;
}

.chart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.chart-title {
    font-family: var(--font-dalek);
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.chart-container {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FOOTER */
.footer {
    background: var(--footer-bg);
    padding: 3rem 0;
    border-top: 1px solid rgba(98, 126, 234, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo span {
    font-family: var(--font-dalek);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* SNOWFLAKE ANIMATION */
.snowflake {
    position: fixed;
    top: -50px;
    pointer-events: none;
    z-index: 9999;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(calc(100vh + 50px)) rotate(360deg);
        opacity: 0;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
    .about-grid,
    .toconomics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 35, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .about-section,
    .toconomics-section {
        padding: 3rem 0;
    }
    
    .toconomics-card {
        padding: 1.5rem;
    }
    
    .chart-container iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .hero-title {
        margin-bottom: 1.5rem;
    }
    
    .about-section,
    .toconomics-section,
    .contract-section,
    .chart-section {
        padding: 2rem 0;
    }
    
    .toconomics-card {
        padding: 1rem;
    }
    
    .contract-info {
        padding: 1.5rem;
    }
    
    .chart-container iframe {
        height: 350px;
    }
    
    #mainImage {
        width: 60vmin;
        height: 60vmin;
    }
}