/* ========================================
   RYpto - Cyberpunk Crypto Site
   ORGANIZED, OPTIMIZED, LIVE TICKER READY
======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
}

#particles-js { 
    position: fixed; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
    top: 0; 
    left: 0; 
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed; 
    top: 0; 
    width: 100%; 
    padding: 1.5rem 5%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    z-index: 1000; 
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,255,136,0.3);
}

.logo { 
    font-family: 'Orbitron', sans-serif; 
    font-size: 2rem; 
    font-weight: 900; 
}
.ry { color: #ff00aa; text-shadow: 0 0 15px #ff00aa; }
.pto { color: #00ffff; text-shadow: 0 0 15px #00ffff; }

.nav-links a {
    color: #e0e0e0; 
    text-decoration: none; 
    font-weight: 700;
    text-transform: uppercase; 
    font-size: 0.9rem; 
    position: relative;
    transition: 0.3s;
}
.nav-links a::after {
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0;
    width: 0; 
    height: 2px; 
    background: linear-gradient(90deg, #ff00aa, #00ffff);
    transition: 0.3s;
}
.nav-links a:hover { 
    color: #00ffff; 
    text-shadow: 0 0 10px #00ffff; 
}
.nav-links a:hover::after { 
    width: 100%; 
}

.hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
}
.hamburger span { 
    width: 25px; 
    height: 3px; 
    background: #ff00aa; 
    border-radius: 5px; 
    transition: 0.3s; 
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    height: 100vh; 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    padding: 0 5%; 
    position: relative;
}

/* Glitch Effect */
.glitch {
    font-family: 'Orbitron', sans-serif; 
    font-size: 5.5rem; 
    font-weight: 900;
    text-transform: uppercase; 
    color: #fff;
    text-shadow: 0.05em 0 0 #ff00aa, -0.025em -0.05em 0 #00ffff, 0.025em 0.05em 0 #00ff88;
    animation: glitch 2.5s infinite;
}
.glitch::before, .glitch::after { 
    content: attr(data-text); 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}
.glitch::before { 
    left: 2px; 
    text-shadow: -2px 0 #ff00aa; 
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); 
    animation: glitch-1 0.5s infinite linear alternate-reverse; 
}
.glitch::after { 
    left: -2px; 
    text-shadow: -2px 0 #00ffff, 2px 2px #ff00aa; 
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); 
    animation: glitch-2 0.7s infinite linear alternate-reverse; 
}

@keyframes glitch { 
    0%,100%{text-shadow:0.05em 0 0 #fff,-0.05em -0.05em 0 #00ffff,0.025em 0.05em 0 #ff00aa;} 
    15%{text-shadow:-0.05em -0.025em 0 #fff,0.025em 0.025em 0 #00ffff,-0.05em -0.05em 0 #ff00aa;} 
    50%{text-shadow:0.025em 0.05em 0 #fff,0.05em 0 0 #00ffff,0 -0.05em 0 #ff00aa;} 
}
@keyframes glitch-1 { 0%,100%{transform:translate(-2px);} 50%{transform:translate(2px);} }
@keyframes glitch-2 { 0%,100%{transform:translate(2px);} 50%{transform:translate(-2px);} }

.tagline { 
    font-size: 1.5rem; 
    margin: 1.5rem 0; 
    color: #00ff88; 
    text-shadow: 0 0 15px rgba(0,255,136,0.5); 
    letter-spacing: 2px; 
}

/* Hero Social Links (FIXED Z-INDEX) */
.social-hero { 
    margin-top: 1.5rem; 
    display: flex; 
    gap: 1.5rem; 
    flex-wrap: wrap; 
    justify-content: center; 
    position: relative; 
    z-index: 10; 
}
.social-mini { 
    background: rgba(255,0,170,0.2); 
    color: #ff00aa; 
    padding: 0.5rem 1rem; 
    border: 1px solid #ff00aa; 
    border-radius: 50px; 
    font-size: 0.9rem; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    transition: 0.3s; 
    position: relative; 
    z-index: 10; 
}
.social-mini:hover { 
    background: #ff00aa; 
    color: #0a0a0a; 
    box-shadow: 0 0 20px #ff00aa; 
    transform: translateY(-3px); 
}

/* CTA Buttons */
.cta-buttons { 
    display: flex; 
    gap: 1.5rem; 
    margin-top: 2rem; 
}
.btn-primary, .btn-secondary { 
    padding: 1rem 2.5rem; 
    font-family: 'Orbitron', sans-serif; 
    font-weight: 700; 
    text-transform: uppercase; 
    border: none; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-decoration: none; 
    display: inline-block; 
    font-size: 1rem; 
    position: relative;
}
.btn-primary { 
    background: linear-gradient(45deg, #00ff88, #00ffff); 
    color: #0a0a0a; 
    box-shadow: 0 0 20px rgba(0,255,136,0.6); 
}
.btn-primary:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 0 30px rgba(0,255,255,0.8); 
}
.neon-border::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    border: 2px solid #00ffff; 
    border-radius: 50px; 
    animation: borderPulse 2s infinite; 
}
@keyframes borderPulse { 
    0% { box-shadow: 0 0 10px #00ffff; } 
    50% { box-shadow: 0 0 25px #00ffff, 0 0 35px #00ffff; } 
    100% { box-shadow: 0 0 10px #00ffff; } 
}
.pulse { 
    animation: pulse 2s infinite; 
}
@keyframes pulse { 
    0% { transform: scale(1); } 
    50% { transform: scale(1.05); } 
    100% { transform: scale(1); } 
}

/* ========================================
   LIVE CRYPTO TICKER
======================================== */
.crypto-ticker { 
    position: absolute; 
    bottom: 2rem; 
    width: 90%; 
    overflow: hidden; 
    border: 1px solid rgba(0,255,136,0.3); 
    border-radius: 10px; 
    background: rgba(10,10,10,0.7); 
    backdrop-filter: blur(5px); 
    z-index: 5;
    pointer-events: none;
}
.ticker-wrap { 
    overflow: hidden; 
}
.ticker { 
    display: flex; 
    animation: scroll 25s linear infinite; 
    white-space: nowrap; 
}
.ticker span { 
    padding: 0.5rem 1.5rem; 
    font-family: 'Share Tech Mono', monospace; 
    font-size: 0.9rem; 
    color: #e0e0e0; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    min-width: 160px;
    transition: color 0.4s ease;
}
.green { color: #00ff88 !important; }
.red { color: #ff00aa !important; }
@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* ========================================
   SECTIONS & GRID
======================================== */
.section { 
    padding: 6rem 5%; 
    position: relative; 
}
.dark-bg { 
    background: #0f0f1e; 
}
.section-title { 
    text-align: center; 
    font-family: 'Orbitron', sans-serif; 
    font-size: 3rem; 
    margin-bottom: 3rem; 
}
.neon-text { 
    color: #00ffff; 
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff; 
    animation: neon 1.5s ease-in-out infinite alternate; 
}
@keyframes neon { 
    from { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff; } 
    to { text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff, 0 0 50px #00ffff; } 
}

.review-grid, .video-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin-top: 2rem; 
}

/* ========================================
   CYBER CARDS (SHARED)
======================================== */
.cyber-card { 
    position: relative; 
    border-radius: 15px; 
    overflow: hidden; 
    background: #111; 
    border: 1px solid rgba(0,255,136,0.3); 
    transition: all 0.4s ease; 
}
.cyber-card:hover { 
    transform: translateY(-15px); 
    border-color: #00ffff; 
    box-shadow: 0 0 30px rgba(0,255,255,0.4); 
}
.card-glow { 
    position: absolute; 
    inset: -2px; 
    background: linear-gradient(45deg, #00ff88, #00ffff, #ff00ff, #00ff88); 
    border-radius: 15px; 
    z-index: -1; 
    opacity: 0; 
    transition: opacity 0.4s ease; 
    animation: rotate 8s linear infinite; 
}
.cyber-card:hover .card-glow { 
    opacity: 1; 
}
@keyframes rotate { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

/* ========================================
   REVIEW THUMBNAILS (16:9)
======================================== */
.review-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    border: 1px solid rgba(0,255,136,0.3);
    background: #000;
}

.review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s ease;
    filter: brightness(0.9) contrast(1.1);
}

.review-card:hover .review-thumb img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.2);
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.7) 80%, rgba(10,10,10,0.95) 100%);
    pointer-events: none;
    z-index: 1;
}

.thumb-glow {
    position: absolute;
    inset: -2px;
    border-radius: 15px;
    background: conic-gradient(from 0deg, #ff00aa, #00ffff, #00ff88, #ff00aa);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: rotate 12s linear infinite;
}

.review-card:hover .thumb-glow { 
    opacity: 0.8; 
}

.review-thumb::after {
    content: attr(data-title);
    position: absolute;
    bottom: 1.2rem;
    left: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    letter-spacing: 1px;
}

.review-card:hover .review-thumb::after {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   VIDEO THUMBNAILS + BIG PLAY BUTTON
======================================== */
.video-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    height: 200px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

.video-card:hover .video-thumbnail img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Big Play Button */
.play-button-big {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(0, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #0a0a0a;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 2;
    animation: pulse-glow 2s infinite;
}

.video-card:hover .play-button-big {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    pointer-events: all;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.7); }
    50% { box-shadow: 0 0 50px rgba(0, 255, 255, 0.9), 0 0 70px rgba(0, 255, 255, 0.5); }
    100% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.7); }
}

/* Dark Overlay on Hover */
.video-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}
.video-card:hover::before { opacity: 1; }

/* ========================================
   CARD CONTENT
======================================== */
.card-content, .video-info { 
    padding: 1.5rem; 
}
.card-content h3, .video-info h3 { 
    font-family: 'Orbitron', sans-serif; 
    color: #00ffff; 
    margin-bottom: 0.5rem; 
}
.rating { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin: 1rem 0; 
    color: #00ff88; 
}
.read-more { 
    color: #00ff88; 
    text-decoration: none; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin-top: 1rem; 
    transition: all 0.3s ease; 
}
.read-more:hover { 
    color: #00ffff; 
    transform: translateX(5px); 
}

/* ========================================
   SUBSCRIBE CTA
======================================== */
.subscribe-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}
.subscribe-cta h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00ffff;
    margin-bottom: 1rem;
}
.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 1.5rem auto 0;
    flex-wrap: wrap;
    justify-content: center;
}
.subscribe-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid #00ffff;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
}
.subscribe-form button {
    padding: 1rem 2rem;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0,255,136,0.3);
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.social-icon {
    color: #00ffff;
    font-size: 1.5rem;
    transition: 0.3s;
}
.social-icon:hover {
    color: #ff00aa;
    transform: translateY(-5px);
}
.disclaimer {
    font-size: 0.8rem;
    color: #666;
    margin-top: 1rem;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { 
        position: fixed; 
        top: 80px; 
        left: -100%; 
        width: 100%; 
        height: calc(100vh - 80px); 
        background: rgba(10,10,10,0.95); 
        flex-direction: column; 
        align-items: center; 
        padding-top: 3rem; 
        transition: left 0.3s ease; 
    }
    .nav-links.active { left: 0; }
    .glitch { font-size: 3rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .section-title { font-size: 2rem; }
    .social-hero, .cta-buttons { gap: 1rem; }
    .subscribe-form { flex-direction: column; }
    .subscribe-form input, .subscribe-form button { width: 100%; max-width: 300px; }
}