/* =========================================================
   WebSites Full CSS - Responsive & Animated
   ========================================================= */

/* GENERAL BODY STYLES */
body {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    color: white;
    background-image: url('../images/coinbg1.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
    background-attachment: scroll;
}

/* Animated geometric background */
body::before {
    content: '';
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,1) 2px, transparent 3px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,1) 1.5px, transparent 2.5px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,1) 1px, transparent 2px);
    z-index: 1;
    animation: pulse 20s ease-in-out infinite;
}

/* Floating particles effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(0, 191, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 60% 90%, rgba(138, 43, 226, 0.2), transparent);
    background-size: 100px 100px, 80px 80px, 60px 60px, 90px 90px;
    animation: drift 25s linear infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes drift {
    0% { transform: translateX(-100px) translateY(-100px); }
    100% { transform: translateX(100px) translateY(100px); }
}

/* HEADER */
header {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: none;
    z-index: 10;
}

header h1 {
    display: inline-block;           
    padding: 20px 40px;              
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 25px;
    border: 3px solid;
    border-image: linear-gradient(45deg, #FFD700, #FFC107, #FF6B35) 1;
    text-align: center;
    font-size: clamp(40px, 10vw, 80px);
    font-weight: bold;
    letter-spacing: 2px;
    color: #00BFFF;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), 0 0 20px rgba(255, 215, 0, 0.2);
    z-index: 10;
    transition: all 0.3s ease-in-out;
}

header h1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4), 0 0 40px rgba(255, 215, 0, 0.4);
}

/* NAVIGATION */
header nav ul {
    gap: 60px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

header nav li {
    margin: 0px;
}

header nav a {
    font-size: 18px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 9px;
    border: 2px solid transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

header nav a:hover {
    color: #FFD700;
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

/* HERO SECTION - Fully Responsive */
.hero {
    display: flex;
    flex-wrap: nowwrap;
    gap: 25%;
    justify-content: flex-start;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-left, .hero-right {
    flex: 1 1 100%;
    min-width: 280px;
    box-sizing: border-box;
}

.hero-left {
    width: 0 0 25%;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-left h2 {
    text-align: center;
    color: #FFD700;
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.hero-right {
    width: 0 0 20%;
    min-width: 180px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    color: white;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(0, 191, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-right h3 {
    text-align: center;
    color: #00BFFF;
    margin-bottom: 25px;
    font-size: 28px;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
}

.scrolling-quotes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scrollUp 25s linear infinite;
}

.scrolling-quotes p {
    margin: 0;
    text-align: center;
    font-size: 18px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 15px;
    border-left: 4px solid #00BFFF;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.scrolling-quotes p:hover {
    transform: scale(1.02);
}

@keyframes scrollUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

.scrolling-quotes:hover {
    animation-play-state: paused;
}

.hero p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.underline {
    text-decoration: none;
    color: #FFD700;
    font-weight: bold;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
html {
    scroll-behavior: smooth;
}

/* FOOTER */
footer {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: auto;
    z-index: 100;
    position: relative;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}
.footer-left, .footer-center, .footer-right {
    flex: 1 1 auto;
    text-align: center;
    margin: 5px 0;
}

.footer-left {
    text-align: left;
}

.footer-left p {
    margin: 2px 0;
    font-size: 14px;
    color: #ccc !important;
}

.footer-left p:first-child {
    color: #FFD700 !important;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        padding: 20px;
    }
    .hero-left, .hero-right {
        flex: 1 1 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .footer-left, .footer-center, .footer-right {
        flex: 1 1 100%; /* full width on small screens */
        text-align: center;
    }
    header nav ul {
        flex-direction: column;
        gap: 15px;
    }
    .hero {
        gap: 20px;
        padding: 15px;
    }
    .hero-left h2 {
        font-size: clamp(22px, 6vw, 28px);
    }
    .hero-right h3 {
        font-size: clamp(20px, 5vw, 24px);
    }
    header h1 {
        font-size: clamp(26px, 8vw, 40px);
        padding: 12px 18px;
    }

    #nav-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        text-align: center;
        width: 100%;
    }

    #nav-menu.show {
        display: flex;
    }

    header nav a {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: clamp(22px, 7vw, 32px);
        padding: 10px 15px;
    }
    .hero-left h2 {
        font-size: clamp(20px, 6vw, 26px);
    }
    .hero-right h3 {
        font-size: clamp(18px, 5vw, 22px);
    }
    .scrolling-quotes p {
        font-size: clamp(14px, 4vw, 18px);
        padding: 15px;
    }
    footer {
        text-align: center;
        padding: 10px;
    }
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
}

/* HAMBURGER BUTTON */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #FFD700;
    border-radius: 8px;
    font-size: 26px;
    padding: 6px 12px;
    cursor: pointer;
    color: white;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

#nav-menu {
    display: flex;
    justify-content: center;
}
