:root{
--canvas-w: 390px;
--canvas-h: 800px;
--bg-img: url('../img/bg-sm.png'); 
--accent: #00FF88;
--secondary: #8B5CF6;
--neon-blue: #00D4FF;
--panel-bg: rgba(0,0,0,0.75);
--glow-intensity: 0.4;
}

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: #0A0B14;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow: hidden;
}

/* Animated background overlay */
.bg-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.glow-orb:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.glow-orb:nth-child(2) {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.glow-orb:nth-child(3) {
    width: 250px;
    height: 250px;
    background: var(--neon-blue);
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.page-bg {
    width: 100%;
    height: 100%;
    position: relative;
}

.mobile-canvas{
    width: var(--canvas-w);
    height: var(--canvas-h);
    overflow: hidden;
    position: relative;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0,255,136,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139,92,246,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0,212,255,0.05) 0%, transparent 50%),
        linear-gradient(135deg, #0A0B14 0%, #1A1B2E 100%);
    color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    box-shadow: 
        0 0 60px rgba(0,255,136,0.1),
        0 0 100px rgba(139,92,246,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.mobile-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(125deg, transparent 0%, rgba(0,255,136,0.03) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Enhanced side navigation */
.side-vertical {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 2;
}

.side-vertical .side-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Bungee', cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    line-height: 1;
    font-size: 12px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 10px 5px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.side-vertical .side-link.active {
    color: var(--accent);
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.3);
    box-shadow: 0 0 20px rgba(0,255,136,0.2);
}

.side-vertical .side-link:hover {
    color: var(--neon-blue);
    transform: rotate(180deg) scale(1.05);
}

/* Header */
.logo-wrap{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.logo{ 
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0,255,136,0.3));
}

/* Main content */
main {
    margin-left: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

/* Enhanced hero card */
.hero-card{
    background: rgba(10, 11, 20, 0.8);
    border-radius: 20px;
    text-align: center;
    padding: 30px 25px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0,255,136,0.1), 
        transparent);
    transition: left 0.6s ease;
}

.hero-card:hover::before {
    left: 100%;
}

.hero-title{
    font-family: 'Bungee', cursive;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0,255,136,0.3);
}

.hero-desc{
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

/* Modern Web3 buttons */
.hero-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 0;
}

.hero-buttons a {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Register Button */
.hero-buttons .register-btn {
    background: linear-gradient(135deg, #000000 0%, #1A1B2E 100%);
    color: #00FF88;
    border: 1px solid rgba(0,255,136,0.3);
}

.hero-buttons .register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 25px rgba(0,255,136,0.3),
        0 0 30px rgba(0,255,136,0.2);
    border: 1px solid rgba(0,255,136,0.6);
}

/* Login Button */
.hero-buttons .login-btn {
    background: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);
    color: #000000;
    font-weight: 800;
}

.hero-buttons .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 25px rgba(0,255,136,0.4),
        0 0 40px rgba(0,212,255,0.3);
}

/* Button icons */
.hero-buttons a svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-buttons a:hover svg {
    transform: scale(1.1);
}

/* Bottom section */
.bottom-icon{
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.bottom-icon svg {
    width: 80px;
    height: 80px;
    opacity: 0.1;
    filter: drop-shadow(0 0 10px rgba(0,255,136,0.3));
    transition: all 0.3s ease;
}

.bottom-icon:hover svg {
    opacity: 0.2;
    transform: scale(1.05);
}

/* Particle effects */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

/* Affiliated Brands Section */
.affiliated-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(10, 11, 20, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom:20px;
}

.affiliated-brand > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    gap: 10px;
}

.affiliated-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.affiliated-brand h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.affiliated-brand > div:hover img {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0,255,136,0.4);
}

.affiliated-brand > div:hover h3 {
    color: var(--accent);
}

/* Steps Carousel Section - Text Cards */
.steps-carousel {
    border-radius: 20px;
    backdrop-filter: blur(20px);
    margin-bottom: 20px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
    perspective: 1000px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.carousel-slide.prev {
    opacity: 0.3;
    transform: translateX(-100%) scale(0.9);
}

.carousel-slide.next {
    opacity: 0.3;
    transform: translateX(100%) scale(0.9);
}

.step-card {
    background: linear-gradient(135deg, rgba(10, 11, 20, 0.95) 0%, rgba(26, 27, 46, 0.95) 100%);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0,255,136,0.2);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 0 0 1px rgba(0,255,136,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0,255,136,0.1), 
        transparent);
    transition: left 0.6s ease;
}

.step-card:hover::before {
    left: 100%;
}

.step-number {
    font-family: 'Bungee', cursive;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0,255,136,0.5);
}

.step-title {
    font-family: 'Bungee', cursive;
    font-size: 20px;
    background: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.step-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    max-width: 300px;
}

.step-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(0,255,136,0.3);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 10px;
}

.nav-btn {
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.3);
    color: var(--accent);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: rgba(0,255,136,0.2);
    border: 1px solid rgba(0,255,136,0.6);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0,255,136,0.4);
}

.carousel-dots {
    display: flex;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(0,255,136,0.6);
}

.dot:hover {
    background: var(--neon-blue);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 480px) {
    .mobile-canvas{
        width: 100% !important;
        height: 100% !important;
        max-width: 100%;
        border-radius: 0;
        overflow-y: scroll;
        overflow-x: hidden;
        /* padding-bottom: 10px !important; */
    }
    
    .affiliated-brand {
        padding: 15px;
        gap: 10px;
    }
    
    .affiliated-brand img {
        width: 40px;
        height: 40px;
    }
    
    .affiliated-brand h3 {
        font-size: 9px;
    }
    
    main {
        gap: 15px;
    }
}

@media (min-width: 481px) and (max-width: 991px) {
    .mobile-canvas {
        width: var(--canvas-w);
    }
    
    .affiliated-brand img {
        width: 45px;
        height: 45px;
    }
}

/* Large devices: ≥992px */
@media (min-width: 992px) {
    .mobile-canvas {
        width: 400px !important;
    }

    body, html {
        overflow: hidden;
    }
    
    .mobile-canvas {
        overflow-y: scroll;
        overflow-x: hidden;
        padding-bottom: 100px !important;
    }
    
    .affiliated-brand img {
        width: 55px;
        height: 55px;
    }
    
    .affiliated-brand h3 {
        font-size: 11px;
    }
    
    /* Custom scrollbar styling for webkit browsers */
    .mobile-canvas::-webkit-scrollbar {
        width: 6px;
    }
    
    .mobile-canvas::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 3px;
    }
    
    .mobile-canvas::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);
        border-radius: 3px;
    }
    
    .mobile-canvas::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    }
}