:root {
    /* in case we want diff colorsss */
    /* yellow theme */
    /* --bg-color: #daa423; */
    
    /* mainnnn theme (uncomment to use) */
    --bg-color: #912870;
    
    --text-color: #ffffff;
    --nav-height: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Changa', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    margin: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-color);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-letter {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-color);
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background 0.2s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--nav-height) 2rem 300px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin: 0 0 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.4);
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 3rem;
}

.newsletter-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    background: transparent;
    border: 2px solid white;
    border-radius: 50px;
    color: var(--text-color);
    transition: all 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--text-color);
    cursor: pointer;
}

.btn-submit {
    padding: 0.9rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-color);
    background: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tentacles Container - OPTIMIZED FOR PERFORMANCE */
.tentacles {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    pointer-events: none;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 2rem;
    /* Add fade-in animation */
    animation: fadeInTentacles 0.5s ease-in;
}

@keyframes fadeInTentacles {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tentacle {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    opacity: 0.9;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden;
}

/* Loading state - show placeholder */
.tentacle[data-loaded="false"] {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

/* Individual tentacle positioning - adjust as needed */
.tentacle-1 { 
    transform: translateY(0) translateZ(0);
    animation-delay: 0.1s;
}
.tentacle-2 { 
    transform: translateY(20px) translateZ(0);
    animation-delay: 0.2s;
}
.tentacle-3 { 
    transform: translateY(10px) translateZ(0);
    animation-delay: 0.15s;
}
.tentacle-4 { 
    transform: translateY(15px) translateZ(0);
    animation-delay: 0.25s;
}
.tentacle-5 { 
    transform: translateY(5px) translateZ(0);
    animation-delay: 0.3s;
}

/* Footer */
.footer {
    position: relative;
    background:#6A1E55;
    padding: 2rem;
    z-index: 3;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-color);
}

.footer-address {
    font-style: normal;
    line-height: 1.6;
}

.footer-copy {
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Stars & Bubbles Containers */
.stars-container,
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubbles-container {
    z-index: 2;
}

/* Stars */
.star {
    position: absolute;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* bubbles */
.bubble {
    position: absolute;
    pointer-events: none;
    user-select: none;
    will-change: transform, bottom, left, opacity;
}

/* Animation for form messages */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* reduce number of stars and bubbles on mobile for performance */
    .star:nth-child(n+8),
    .bubble:nth-child(n+7) {
        display: none;
    }
    
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .hero {
        padding: calc(var(--nav-height) + 2rem) 1rem 250px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .newsletter-title {
        font-size: 0.9rem;
    }
    
    .tentacles {
        position: absolute;
        bottom: -25px; /* Sink into footer so they come out of it */
    }
    
    .tentacle {
        max-width: 110px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 100px;
    }
    
    .form-checkbox {
        font-size: 0.75rem;
    }
    
    .btn-submit {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
    
    .tentacles {
        height: 300px;
        position: absolute;
        bottom: -20px;
    }
    
    .tentacle {
        max-width: 90px;
    }
}

/* accessib */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .tentacles {
        animation: none;
    }
}

/* print sty */
@media print {
    .navbar,
    .tentacles,
    .newsletter-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}