 * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        min-height: 100vh;
        line-height: 1.6;
        overflow-x: hidden;
    }

    /* Animated Background */
    .bg-animation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .bg-animation::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
        /*animation: float 20s linear infinite;*/
    }

    .brand-logo {
        height: 40px;
        /* Adjust this value to make your logo bigger or smaller */
        width: auto;
        /* This maintains the logo's aspect ratio */
        margin-right: 12px;
        /* Creates space between the logo and the text */
    }

    @keyframes float {
        0% {
            transform: translateY(0px);
        }

        100% {
            transform: translateY(-100px);
        }
    }

    /* Header Alert Bar */
    .alert-bar {
        background: #ff4757;
        color: white;
        text-align: center;
        padding: 10px;
        font-weight: 600;
        animation: pulse 2s infinite;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.8;
        }
    }

    /* Navigation */
    .main-navigation {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        sticky: 0;
        top: 40px;
        z-index: 90;
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70px;
    }

    .nav-brand a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #2c3e50;
        font-weight: 800;
        font-size: 1.2rem;
    }

    .brand-icon {
        font-size: 1.5rem;
        margin-right: 10px;
    }

    .nav-menu {
        display: flex;
        gap: 30px;
    }

    .nav-link {
        text-decoration: none;
        color: #2c3e50;
        font-weight: 600;
        padding: 10px 20px;
        border-radius: 25px;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        transform: translateY(-2px);
    }

    .container {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px;
        position: relative;
        z-index: 10;
    }

    /* Main Card */
    .main-card {
        background: white;
        border-radius: 24px;
        padding: 40px 30px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
        text-align: center;
        margin-top: 20px;
        position: relative;
        overflow: hidden;
    }

    .main-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: transparent;
        /*background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
        animation: shimmer 3s infinite;*/
    }

    @keyframes shimmer {
        0% {
            transform: translateX(-100%) translateY(-100%) rotate(45deg);
        }

        100% {
            transform: translateX(100%) translateY(100%) rotate(45deg);
        }
    }

    /* Congratulations Badge */
    .congrats-badge {
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        color: white;
        padding: 12px 24px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
        display: inline-block;
        box-shadow: 0 8px 25px rgba(238, 90, 36, 0.3);
        animation: bounce 2s infinite;
    }

    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        60% {
            transform: translateY(-5px);
        }
    }

    h1 {
        font-size: 2.5rem;
        font-weight: 900;
        margin-bottom: 20px;
        color: #2c3e50;
        line-height: 1.2;
    }

    .highlight {
        color: #e74c3c;
        text-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    }

    .subtitle {
        font-size: 1.3rem;
        color: #7f8c8d;
        margin-bottom: 30px;
        font-weight: 500;
    }

    /* Rankings Table */
    .rankings-table {
        margin: 30px 0;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .table-header {
        background: linear-gradient(135deg, #2c3e50, #34495e);
        color: white;
        display: grid;
        grid-template-columns: 80px 1fr 120px 100px;
        padding: 15px;
        font-weight: 700;
        text-align: left;
    }

    .table-row {
        display: grid;
        grid-template-columns: 80px 1fr 120px 100px;
        padding: 15px;
        border-bottom: 1px solid #ecf0f1;
        align-items: center;
        transition: background-color 0.3s ease;
    }

    .table-row:hover {
        background-color: #f8f9fa;
    }

    .table-row.top-three {
        background: linear-gradient(135deg, #ffd700, #ffed4e);
        font-weight: 600;
    }

    .country-col {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .flag {
        border-radius: 3px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .change-col.positive {
        color: #27ae60;
        font-weight: 600;
    }

    .change-col.negative {
        color: #e74c3c;
        font-weight: 600;
    }

    .change-col.neutral {
        color: #7f8c8d;
    }

    /* Calculator Styles */
    .calculator-form {
        max-width: 500px;
        margin: 0 auto 40px;
        text-align: left;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #2c3e50;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #ecf0f1;
        border-radius: 10px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .calculation-result {
        background: #f8f9fa;
        padding: 30px;
        border-radius: 15px;
        margin: 30px 0;
        border-left: 5px solid #10ac84;
    }

    .result-details {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .result-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #dee2e6;
    }

    .result-item:last-child {
        border-bottom: none;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .formula-explanation {
        background: #f8f9fa;
        padding: 30px;
        border-radius: 15px;
        margin: 30px 0;
        text-align: left;
    }

    .formula {
        background: white;
        padding: 20px;
        border-radius: 10px;
        font-family: 'Courier New', monospace;
        font-size: 1.2rem;
        font-weight: 600;
        text-align: center;
        margin: 15px 0;
        border: 2px solid #e9ecef;
    }

    .formula-details p {
        margin-bottom: 8px;
        color: #2c3e50;
    }

    /* CTA Button */
    .main-cta {
        display: inline-block;
        background: linear-gradient(135deg, #10ac84, #00d2d3);
        color: white;
        font-weight: 800;
        font-size: 1.2rem;
        text-decoration: none;
        padding: 15px 35px;
        border: none;
        border-radius: 50px;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 15px 35px rgba(16, 172, 132, 0.4);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        margin: 20px 0;
    }

    .main-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 45px rgba(16, 172, 132, 0.5);
    }

    .main-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .main-cta:hover::before {
        left: 100%;
    }

    /* Trust Indicators */
    .trust-indicators {
        margin: 30px 0;
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    .trust-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        color: #2c3e50;
        font-weight: 500;
    }

    /* Loading Spinner */
    .loading-spinner {
        text-align: center;
        padding: 60px 20px;
        color: #7f8c8d;
    }

    .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid rgba(102, 126, 234, 0.3);
        border-top: 4px solid #667eea;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 20px;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .error-message {
        background: #ff6b6b;
        color: white;
        padding: 20px;
        border-radius: 10px;
        margin: 20px 0;
        text-align: center;
        font-weight: 600;
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .container {
            padding: 15px;
        }

        .main-card {
            padding: 30px 20px;
        }

        h1 {
            font-size: 2rem;
        }

        .subtitle {
            font-size: 1.1rem;
        }

        .nav-container {
            padding: 0 15px;
            flex-direction: column;
            height: auto;
            padding: 15px;
        }

        .nav-menu {
            gap: 15px;
            margin-top: 15px;
        }

        .nav-link {
            padding: 8px 15px;
            font-size: 0.9rem;
        }

        .table-header,
        .table-row {
            grid-template-columns: 60px 1fr 80px 70px;
            padding: 10px;
            font-size: 0.9rem;
        }

        .main-cta {
            font-size: 1rem;
            padding: 12px 25px;
        }

        .trust-indicators {
            gap: 20px;
        }

        .trust-item {
            font-size: 0.8rem;
        }
    }
