/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ffd700;
    --accent-color: #ff006e;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --card-bg: rgba(20, 20, 20, 0.9);
    --card-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav__logo i {
    font-size: 2rem;
}

.nav__menu {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    overflow: hidden;
}

.hero__content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

/* Particles Animation */
.hero__particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.hero__particles::before,
.hero__particles::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero__particles::after {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation-delay: 3s;
    right: 10%;
    top: 20%;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* Section Title */
.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Predictors Grid */
.predictors {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.predictors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Predictor Cards */
.predictor-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.predictor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.predictor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.predictor-card:hover::before {
    transform: scaleX(1);
}

.predictor-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.predictor-card__icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.predictor-card__title {
    font-size: 1.5rem;
    font-weight: 600;
}

.predictor-card__label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.predictor-card__input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.predictor-card__input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.predictor-card__button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.predictor-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.predictor-card__output {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.hidden {
    display: none;
}

/* Prediction Results */
.prediction-result {
    text-align: center;
}

.prediction-result__number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.prediction-result__details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prediction-result__confidence,
.prediction-result__color {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prediction-result__confidence span:first-child,
.prediction-result__color span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.color-indicator {
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.color-red {
    background: #ff4757;
    color: white;
}

.color-black {
    background: #2f3542;
    color: white;
}

.color-green {
    background: #2ed573;
    color: white;
}

/* Mines Grid */
.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-bottom: 1rem;
}

.mines-cell {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mines-cell:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mines-cell.safe {
    background: rgba(46, 213, 115, 0.3);
    border-color: #2ed573;
}

.mines-cell.mine {
    background: rgba(255, 71, 87, 0.3);
    border-color: #ff4757;
}

.mines-cell.recommended {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

/* Crash Prediction */
.crash-prediction {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prediction-multiplier,
.prediction-confidence,
.cashout-recommendation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prediction-multiplier span:first-child,
.prediction-confidence span:first-child,
.cashout-recommendation span:first-child {
    color: var(--text-secondary);
}

.multiplier-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
}

.about__text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about__text strong {
    color: var(--primary-color);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.faq__accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq__question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq__question i {
    transition: var(--transition);
}

.faq__question.active i {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq__answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq__answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer__disclaimer {
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Offers Section */
.offers {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.offers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.offer-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
}

.offer-card--popular {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.offer-card--popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.offer-card__badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-secondary);
    color: var(--bg-dark);
    padding: 0.5rem 3rem;
    font-weight: 700;
    font-size: 0.9rem;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.offer-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offer-card__icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offer-card--popular .offer-card__icon {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offer-card__title {
    font-size: 1.5rem;
    font-weight: 600;
}

.offer-card__price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.offer-card--popular .price-amount {
    color: var(--secondary-color);
}

.price-period {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.offer-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.offer-card__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.offer-card__features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.offer-card--popular .offer-card__features i {
    color: var(--secondary-color);
}

.offer-card__button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.offer-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.offer-card__button--popular {
    background: var(--gradient-secondary);
}

.offer-card__button--popular:hover {
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.offers__guarantee {
    text-align: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.offers__guarantee i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.offers__guarantee p {
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .predictors__grid {
        grid-template-columns: 1fr;
    }
    
    .predictor-card {
        padding: 1.5rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .predictor-card__title {
        font-size: 1.2rem;
    }
    
    .prediction-result__number {
        font-size: 2rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}