:root {
    --primary: #FF8940;
    --secondary: #a78bfa;
    --accent: #FAFA39;
    --success: #4DDBA8;
    --error: #FF577B;
    --bg-dark: #1a1625;
    --bg-darker: #0f0d15;
    --text-light: #f8f8ff;
    --text-muted: rgba(248, 248, 255, 0.6);

    --primary-gradient: linear-gradient(135deg, #FF8940, #FF6B9D);
    --secondary-gradient: linear-gradient(135deg, #a78bfa, #7ff0d4);
    --accent-gradient: linear-gradient(135deg, #FAFA39, #FF8940);
}

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

body {
    font-family: 'Balsamiq Sans', cursive;
    background: linear-gradient(135deg, #0f0d15 0%, #1a1625 50%, #0f0d15 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 13, 21, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 137, 64, 0.2);
}

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

.logo-nav h1 {
    font-family: 'Londrina Solid', cursive;
    font-size: 2rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.logo-nav .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.btn {
    padding: 12px 30px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 137, 64, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 137, 64, 0.6);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(167, 139, 250, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.6);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.3rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 137, 64, 0.15), transparent);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, -50px) rotate(180deg); }
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 10;
}

.hero-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Londrina Solid', cursive;
    font-size: 3.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-animation {
    position: relative;
    width: 400px;
    height: 400px;
}

.globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 137, 64, 0.2);
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

.orbit-1 {
    width: 350px;
    height: 350px;
}

.orbit-2 {
    width: 450px;
    height: 450px;
    animation-duration: 15s;
}

.orbit-3 {
    width: 550px;
    height: 550px;
    animation-duration: 20s;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.features-section,
.howto-section,
.ranking-section {
    padding: 120px 0;
}

.section-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 80px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 137, 64, 0.3);
}

.feature-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-number {
    font-family: 'Londrina Solid', cursive;
    font-size: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 900;
}

.step-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.lifelines-showcase {
    background: rgba(255, 137, 64, 0.1);
    border: 2px solid rgba(255, 137, 64, 0.3);
    border-radius: 25px;
    padding: 50px;
}

.lifelines-showcase h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 900;
}

.lifelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lifeline-item {
    text-align: center;
}

.lifeline-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.lifeline-item h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 900;
}

.lifeline-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

.ranking-table {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 50px;
}

.ranking-header {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px;
    background: rgba(255, 137, 64, 0.1);
    padding: 20px 30px;
    font-weight: 900;
    text-transform: uppercase;
}

.ranking-cta {
    text-align: center;
}

.ranking-cta p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.footer {
    background: var(--bg-darker);
    border-top: 2px solid rgba(255, 137, 64, 0.2);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.footer-brand h3 {
    font-family: 'Londrina Solid', cursive;
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.footer-author {
    margin-top: 30px;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-dark);
    border: 2px solid rgba(255, 137, 64, 0.3);
    border-radius: 25px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--error);
}

.modal-content h2 {
    font-family: 'Londrina Solid', cursive;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 1.1rem;
    font-family: 'Balsamiq Sans', cursive;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.avatar-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.avatar-option {
    font-size: 2rem;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.avatar-option:hover {
    border-color: var(--primary);
    transform: scale(1.1);
}

.avatar-option.selected {
    border-color: var(--primary);
    background: rgba(255, 137, 64, 0.2);
}

.error-message {
    color: var(--error);
    font-size: 1rem;
    margin: 15px 0;
    text-align: center;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.modal-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid,
    .steps-container,
    .lifelines-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
