/* 
   Fruit Sort: Far - Premium Website Style
   Theme: Cyber-Organic (Deep Purple, Neon, Glassmorphism)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700;900&display=swap');

:root {
    --bg-color: #0F0913;
    --accent-color: #D4FF00;
    /* Neon Lime/Yellow */
    --accent-glow: rgba(212, 255, 0, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --blur: 20px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Elements */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% -20%, #2A1035, #0F0913 60%);
    z-index: -2;
}

.hex-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, #1a1a1a 12%, transparent 12.5%, transparent 87%, #1a1a1a 87.5%, #1a1a1a),
        linear-gradient(150deg, #1a1a1a 12%, transparent 12.5%, transparent 87%, #1a1a1a 87.5%, #1a1a1a),
        linear-gradient(30deg, #1a1a1a 12%, transparent 12.5%, transparent 87%, #1a1a1a 87.5%, #1a1a1a),
        linear-gradient(150deg, #1a1a1a 12%, transparent 12.5%, transparent 87%, #1a1a1a 87.5%, #1a1a1a),
        linear-gradient(60deg, #1a1a1a77 25%, transparent 25.5%, transparent 75%, #1a1a1a77 75%, #1a1a1a77),
        linear-gradient(60deg, #1a1a1a77 25%, transparent 25.5%, transparent 75%, #1a1a1a77 75%, #1a1a1a77);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 50px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 20%, #777);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: var(--accent-color);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 20px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 40px var(--accent-glow);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button:hover::after {
    opacity: 0.3;
}

/* Features */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(var(--blur));
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 20px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 40px var(--accent-glow), 0 0 10px var(--accent-color);
    }

    100% {
        box-shadow: 0 0 20px var(--accent-glow);
    }
}

/* Hero Enhancements */
.hero-svg-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: -1;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    z-index: 10;
    transition: transform 0.3s;
}

.hero-logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 60px rgba(212, 255, 0, 0.2);
}

.hero-fruits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.fruit-float {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.6;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

.f1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.f2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
    transform: rotate(10deg);
}

.f3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 2.5s;
    transform: rotate(20deg);
}

/* Feature Icons (SVG) */
.feature-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--accent-color);
    filter: drop-shadow(0 0 10px var(--accent-glow));
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1) rotate(10deg);
}

/* How to Play Section */
.how-to-play {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    background: linear-gradient(90deg, #fff, #555);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact & Footer */
.footer-section {
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid var(--card-border);
    margin-top: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-svg-bg {
        width: 300px;
        height: 300px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}