/* ===== GENERAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c44569;
    --accent-color: #ffc048;
    --bg-dark: #1a1a2e;
    --bg-darker: #0f0f1e;
    --text-light: #ffffff;
    --text-gray: #b4b4b4;
    --gradient-1: #FF6B9D;
    --gradient-2: #FFA07A;
    --gradient-3: #FFD700;
    --gradient-4: #87CEEB;
}

body {
    font-family: 'Fredoka', sans-serif;
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 25%, var(--gradient-3) 50%, var(--gradient-4) 100%);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: var(--text-light);
    overflow-x: hidden;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.logo-nav {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    animation: rotate 4s linear infinite;
    cursor: pointer;
}

.logo-nav:hover {
    animation: rotate 4s linear infinite, buzzyHover 0.5s ease-in-out;
}

.brand-text {
    font-family: 'Lilita One', cursive;
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    bottom: 10%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: #4facfe;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Lilita One', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounceIn 1s ease;
}

.gradient-text {
    background: linear-gradient(45deg, var(--accent-color), #0281f7, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% auto;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

/* ===== CONTRACT ADDRESS BOX ===== */
.contract-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.contract-label {
    font-size: 0.9rem;
    color: #0281f7;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-address-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.contract-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.contract-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 192, 72, 0.3);
}

.btn-copy {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    min-width: 50px;
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
}

.btn-copy:active {
    transform: translateY(0);
}

.copy-feedback {
    display: none;
    color: #4ade80;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
    animation: fadeIn 0.3s ease;
}

.copy-feedback.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

.btn-bounce {
    animation: bounce 2s infinite;
}

.btn-bounce:hover {
    animation: none;
    transform: scale(1.1);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(255, 107, 157, 0.6);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.logo-container {
    position: relative;
}

.hero-logo {
    width: 100%;
    max-width: 500px;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: floating 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    animation: floating 3s ease-in-out infinite, buzzy 0.6s ease-in-out;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 80px 0;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Lilita One', cursive;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
}

.video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CHART SECTION ===== */
.chart-section {
    padding: 80px 0;
    background: transparent;
}

.chart-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
}

.chart-note {
    text-align: center;
    margin-top: 20px;
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
    padding: 80px 0;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(10px);
}

.social-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.social-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(45deg, #1DA1F2, #0d8bd9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: pulse 2s infinite;
}

.social-card h3 {
    font-family: 'Lilita One', cursive;
    font-size: 2rem;
    margin-bottom: 20px;
}

.social-card p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-social {
    background: linear-gradient(45deg, #1DA1F2, #0d8bd9);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4);
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(29, 161, 242, 0.6);
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-5px) rotate(360deg);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(15, 15, 30, 0.95);
    padding: 50px 0 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    animation: pulse 2s infinite, shakeRotate 0.5s ease-in-out infinite;
}

.footer-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 107, 157, 0.6);
}

.scroll-top-btn.show {
    display: flex;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-50px) translateX(30px);
    }
    50% {
        transform: translateY(-100px) translateX(-20px);
    }
    75% {
        transform: translateY(-50px) translateX(-40px);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes buzzy {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    10% {
        transform: translate(-2px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(2px, -2px) rotate(1deg);
    }
    30% {
        transform: translate(-2px, 2px) rotate(-1deg);
    }
    40% {
        transform: translate(2px, 2px) rotate(1deg);
    }
    50% {
        transform: translate(-2px, -2px) rotate(-1deg);
    }
    60% {
        transform: translate(2px, -2px) rotate(1deg);
    }
    70% {
        transform: translate(-2px, 2px) rotate(-1deg);
    }
    80% {
        transform: translate(2px, 2px) rotate(1deg);
    }
    90% {
        transform: translate(-2px, 0) rotate(-1deg);
    }
}

@keyframes buzzyHover {
    0%, 100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-3px, 0);
    }
    20% {
        transform: translate(3px, 0);
    }
    30% {
        transform: translate(-3px, 0);
    }
    40% {
        transform: translate(3px, 0);
    }
    50% {
        transform: translate(-3px, 0);
    }
    60% {
        transform: translate(3px, 0);
    }
    70% {
        transform: translate(-3px, 0);
    }
    80% {
        transform: translate(3px, 0);
    }
    90% {
        transform: translate(-3px, 0);
    }
}

@keyframes shakeRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* ===== BUZZY ANIMATION CLASSES ===== */
.buzzy-animation {
    animation: buzzy 0.5s ease-in-out;
}

.buzzy-continuous {
    animation: buzzy 0.8s ease-in-out infinite;
}

.buzzy-hover:hover {
    animation: buzzyHover 0.5s ease-in-out;
}

.shake-rotate {
    animation: shakeRotate 0.5s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .contract-box {
        padding: 18px;
    }
    
    .contract-input {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        max-width: 350px;
        margin-top: 40px;
    }
    
    .video-section,
    .chart-section,
    .community-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar-collapse {
        background: rgba(26, 26, 46, 0.98);
        padding: 20px;
        margin-top: 15px;
        border-radius: 15px;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .contract-box {
        padding: 15px;
        margin-bottom: 1.5rem;
    }
    
    .contract-label {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .contract-input {
        font-size: 0.75rem;
        padding: 10px;
    }
    
    .btn-copy {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .hero-logo {
        max-width: 280px;
        margin-top: 30px;
    }
    
    .logo-container {
        text-align: center;
    }
    
    .social-card {
        margin-bottom: 30px;
    }
    
    .video-section,
    .chart-section,
    .community-section {
        padding: 50px 0;
    }
    
    .chart-wrapper iframe {
        height: 450px !important;
    }
    
    .social-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .social-card h3 {
        font-size: 1.8rem;
    }
    
    .social-card p {
        font-size: 1rem;
    }
    
    .floating-shapes .shape {
        opacity: 0.2;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .hero-section {
        padding-top: 90px;
        padding-bottom: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .contract-box {
        padding: 12px;
    }
    
    .contract-label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .contract-address-wrapper {
        flex-direction: column;
        gap: 8px;
    }
    
    .contract-input {
        width: 100%;
        font-size: 0.7rem;
        padding: 10px;
        text-align: center;
    }
    
    .btn-copy {
        width: 100%;
        padding: 10px;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
    
    .logo-nav {
        height: 35px;
        width: 35px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .hero-logo {
        max-width: 220px;
    }
    
    .video-section,
    .chart-section,
    .community-section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .chart-wrapper {
        padding: 10px;
    }
    
    .chart-wrapper iframe {
        height: 400px !important;
    }
    
    .chart-note {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .social-card {
        padding: 35px 20px;
    }
    
    .social-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .social-card h3 {
        font-size: 1.6rem;
    }
    
    .social-card p {
        font-size: 0.95rem;
    }
    
    .btn-social {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .footer-logo {
        height: 60px;
        width: 60px;
    }
    
    .footer-text {
        font-size: 1.1rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-shapes .shape {
        opacity: 0.15;
        filter: blur(60px);
    }
    
    .navbar-toggler {
        padding: 5px 10px;
    }
}