:root {
    --primary-bg: #1a2c38;
    --secondary-bg: #213743;
    --accent: #1475e1;
    --text-light: #ffffff;
    --text-dark: #b0b0b0;
    --border: #2a3c47;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--secondary-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0d5ba8;
}

.hero {
    padding: 80px 0;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.bonus-code {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--accent);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.calculators, .bonuses {
    padding: 80px 0;
    margin-bottom: 60px;
    background-color: var(--primary-bg);
}

.stake-registration {
    padding: 80px 0;
    margin-bottom: 60px;
    background-color: var(--primary-bg);
}

.stake-registration h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
}

.stake-registration h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.stake-registration ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.stake-registration li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

p {
    margin-bottom: 20px;
    margin-top: 10px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    margin-top: 20px;
}

.calculators h2, .bonuses h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
}

.calc-grid, .bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.calc-item, .bonus-item {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.calc-item:hover, .bonus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.calc-item img, .bonus-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.calc-item h3, .bonus-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.calc-item p, .bonus-item p {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.btn-secondary {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--accent);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--text-light);
}

.footer {
    background-color: var(--secondary-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-dark);
    line-height: 1.6;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 20px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .calculators, .bonuses {
        padding: 40px 0;
    }

    .calculators h2, .bonuses h2 {
        font-size: 2rem;
    }

    .calc-grid, .bonus-grid {
        grid-template-columns: 1fr;
    }
}

/* Language Switcher Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: var(--secondary-bg);
    color: var(--text-light);
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.dropbtn:hover {
    background-color: var(--primary-bg);
}

.dropbtn i {
    font-size: 16px;
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
    vertical-align: middle;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--secondary-bg);
    min-width: 60px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    border: 1px solid var(--border);
    top: 100%;
    right: 0;
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--primary-bg);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1475e1;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(20, 117, 225, 0.3);
    opacity: 0;
}

#back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(20, 117, 225, 0.4);
    opacity: 1;
}

#back-to-top:active {
    transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}