*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Mobile Performance & Touch Optimization */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

/* Touch Target Optimization */
a, button, .card-btn, .timer-btn, .navbar-btn {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

/* Prevent zoom on input focus on iOS */
input, select, textarea {
    font-size: 16px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Improve scrolling performance on mobile */
* {
    -webkit-overflow-scrolling: touch;
}

/* Focus styles for accessibility */
a:focus, button:focus, .card-btn:focus, .timer-btn:focus {
    outline: 2px solid #ff4040;
    outline-offset: 2px;
}

/* Terms and Privacy Pages Styling */
.terms-container, .privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 5%;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    margin-top: 40px;
}

.terms-container h1, .privacy-container h1 {
    color: #fff;
    font-size: 42px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.terms-content, .privacy-content {
    color: #fff;
    line-height: 1.7;
}

.terms-section, .privacy-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-section:last-child, .privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h2, .privacy-section h2 {
    color: #ff4040;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.terms-section p, .privacy-section p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.terms-section ul, .privacy-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.terms-section li, .privacy-section li {
    font-size: 16px;
    margin-bottom: 8px;
    color: #e0e0e0;
}

/* Mobile Styling for Terms and Privacy */
@media (max-width: 768px) {
    .terms-container, .privacy-container {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .terms-container h1, .privacy-container h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .terms-section h2, .privacy-section h2 {
        font-size: 20px;
    }
    
    .terms-section p, .privacy-section p,
    .terms-section li, .privacy-section li {
        font-size: 15px;
    }
    
    .terms-section ul, .privacy-section ul {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .terms-container, .privacy-container {
        padding: 20px 15px;
        margin: 15px;
    }
    
    .terms-container h1, .privacy-container h1 {
        font-size: 24px;
    }
    
    .terms-section h2, .privacy-section h2 {
        font-size: 18px;
    }
    
    .terms-section p, .privacy-section p,
    .terms-section li, .privacy-section li {
        font-size: 14px;
    }
}

.navbar {
    padding: 20px 15%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff4040, #ff6b6b);
    color: #fff;
    height: 100px;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.navbar-logo img {
    background: #fff;
    border-radius: 50%;
    width: 60px;
}

.navbar-logo h2 {
    font-size: 34px;
    font-weight: 600;
}

.navbar-menu {
    display: flex;
    gap: 20px;
}

.navbar-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.navbar-btn {
    background-color: #fff;
    color: #ff4040;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 500;
}

.navbar-btn a {
    text-decoration: none;
    color: #ff4040;
}

/* Hamburger Menu */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


.main {
    padding-top: 50px;
    background: url(images/hero-bg.jpg) no-repeat center center;
    background-size: cover;
}

.main h1 {
    font-size: 54px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.main-cards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 30px;
    padding: 0 5%;
    max-width: 1200px;
    margin: 40px auto;
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: #ff4040;
}

.card-image {
    width: 120px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 15px;
}

.card-image img {
    width: 250px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.card-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.card-offer {
    font-size: 20px;
    color: #666;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.card-btn {
    background: linear-gradient(135deg, #ff4040, #ff6b6b);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 64, 64, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-btn:hover {
    background: linear-gradient(135deg, #e63636, #ff4040);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 64, 64, 0.4);
}


/* Mobile Optimization */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        padding: 15px 5%;
        flex-direction: row;
        justify-content: space-between;
        height: auto;
        position: relative;
    }
    
    .navbar-toggle {
        display: flex;
        order: 3;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #ff4040, #ff6b6b);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-menu a {
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .navbar-menu a:last-child {
        border-bottom: none;
    }
    
    .navbar-btn {
        order: 2;
    }
    
    .navbar-logo h2 {
        font-size: 24px;
    }
    
    .navbar-logo img {
        width: 50px;
    }
    
    .navbar-btn {
        font-size: 18px;
        padding: 12px 25px;
    }
    
    /* Main Content Mobile */
    .main {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .main h1 {
        font-size: 32px;
        margin-bottom: 30px;
        padding: 0 20px;
        line-height: 1.2;
    }
    
    .main-cards {
        padding: 0 20px;
        gap: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .card-image {
        width: 100%;
        height: 100px;
        justify-self: center;
    }
    
    .card-image img {
        width: 180px;
    }
    
    .card-content h3 {
        font-size: 22px;
        order: 1;
    }
    
    .card-offer {
        font-size: 18px;
        order: 2;
    }
    
    .card-btn {
        font-size: 16px;
        padding: 15px 35px;
        order: 3;
        justify-self: center;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Timer Mobile */
    .timer {
        padding: 20px 5%;
    }
    
    .timer h2 {
        font-size: 24px;
        margin-bottom: 25px;
        line-height: 1.3;
    }
    
    .tcontainer {
        padding: 20px 15px;
        width: 100%;
    }
    
    .timer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .timer-item {
        font-size: 18px;
        padding: 15px 10px;
    }
    
    .timer-value {
        font-size: 28px;
    }
    
    .timer-btn {
        font-size: 18px;
        padding: 15px 30px;
        margin-top: 25px;
        min-height: 50px;
    }
    
    /* Banner Mobile */
    .banner {
        height: 25vh;
        margin-top: 30px;
    }
    
    .banner h2 {
        font-size: 24px;
        padding: 15px 20px;
        margin: 0 20px;
        text-align: center;
        line-height: 1.3;
    }
}

/* Tablet Optimization */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar {
        padding: 20px 10%;
    }
    
    .navbar-logo h2 {
        font-size: 28px;
    }
    
    .navbar-menu a {
        font-size: 20px;
    }
    
    .navbar-btn {
        font-size: 20px;
    }
    
    .main h1 {
        font-size: 42px;
    }
    
    .main-cards {
        padding: 0 10%;
    }
    
    .card-content {
        grid-template-columns: 1fr 2fr 1fr 1fr;
        gap: 20px;
    }
    
    .timer {
        padding: 20px 10%;
    }
    
    .timer h2 {
        font-size: 28px;
    }
    
    .banner h2 {
        font-size: 36px;
    }
}

/* Small Mobile Optimization */
@media (max-width: 480px) {
    .navbar-menu {
        gap: 10px;
    }
    
    .navbar-menu a {
        font-size: 16px;
    }
    
    .navbar-logo h2 {
        font-size: 20px;
    }
    
    .navbar-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .main h1 {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .main-cards {
        padding: 0 15px;
    }
    
    .card {
        padding: 15px;
    }
    
    .card-content h3 {
        font-size: 25px;
    }
    
    .card-offer {
        font-size: 22px;
    }
    
    .timer h2 {
        font-size: 20px;
        padding: 0 15px;
    }
    
    .timer-content {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .timer-item {
        font-size: 16px;
        padding: 10px 5px;
    }
    
    .timer-value {
        font-size: 24px;
    }
    
    .timer-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .banner h2 {
        font-size: 20px;
        padding: 12px 15px;
        margin: 0 15px;
    }
}

.timer {
    padding: 20px 15%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timer h2 {
    text-transform: uppercase;
    font-size: 34px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.tcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #ff4040, #ff6b6b);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 0 4px 15px rgba(255, 233, 64, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

.timer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:30px;
    justify-content: space-between;
    width: 100%;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #cf3232, #da5d5d);
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 0 4px 15px rgba(255, 233, 64, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
}

.timer-value {
    font-size: 40px;
}

.timer-btn {
    margin-top: 40px;
    background: white;
    color: #1c1c1c;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 233, 64, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.1);
    border: 2px solid rgb(255, 255, 255);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    display: block;
}

.timer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 64, 64, 0.4);
}

@media (max-width: 768px) {
    .timer {
        padding: 20px 3%;
    }

    .timer-content {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

.banner {
    margin-top: 40px;
    background-size: cover;
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner h2 {
    font-size: 44px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #cf3232, #da5d5d);
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 0 4px 15px rgba(255, 233, 64, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
}

.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ff4040;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff4040;
}

.footer-responsible {
    display: flex;
    flex-direction: column;
}

.footer-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-icons a {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer-icons img {
    height: 40px;
    width: auto;
    object-fit: contain;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    margin-top: 30px;
    padding: 20px 5%;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright p,
.footer-gamble-aware p {
    margin: 0;
    font-size: 14px;
    color: #999;
    line-height: 1.4;
}

.footer-gamble-aware p {
    font-weight: 500;
    color: #ff4040;
}


@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-icons img {
        height: 35px;
    }
}