html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-color);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

:root {
    --primary-color: #f44336;
    --primary-dark: #ba000d;
    --gradient-start: #f44336;
    --gradient-end: #ff7961;
    --text-dark: #2d2d2d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* Link no color */
.no-link-style {
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E") repeat;
    opacity: 0.4;
}

.hero h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Hero Rotator */
.hero-rotator {
    position: relative;
    padding: 2rem 0;
}

.hero .rotator-container {
    position: relative;
    height: 700px;
    perspective: 1000px;
}

.hero .rotator-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%) scale(0.8);
}

.hero .rotator-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.hero .rotator-item.active .screenshot-slide {
    transform: scale(1.3);
}

.hero .rotator-item.prev {
    transform: translateX(-100%) scale(0.8);
}

.hero .screenshot-slide {
    height: 600px;
    width: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.hero .slide-caption {
    position: absolute;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero .rotator-item.active .slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.hero .slide-caption h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero .slide-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero .rotator-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.hero .control-prev,
.hero .control-next {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero .control-prev:hover,
.hero .control-next:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.hero .rotator-indicators {
    display: flex;
    gap: 0.5rem;
}

.hero .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero .indicator.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero .btn-group {
        justify-content: center;
    }
    
    .hero .rotator-container {
        height: 500px;
    }
    
    .hero .rotator-item {
        align-items: center;
    }
    
    .hero .screenshot-slide {
        height: 400px;
    }
    
    .hero .slide-caption {
        max-width: 280px;
        padding: 1.25rem;
    }
    
    .hero .rotator-item.active .screenshot-slide {
        transform: scale(1.15);
    }
}

.app-previews {
    padding: 2rem 0;
}

.preview-container {
    position: relative;
    height: 700px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    height: 600px;
    width: auto;
    position: absolute;
    top: 50%;
    transition: all 0.6s ease-in-out;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-radius: 24px;
    transform-origin: center center;
}

.app-screenshot-1 {
    left: 30%;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate(-50%, -50%);
    z-index: 1;
}

.app-screenshot-2 {
    left: 70%;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate(-50%, -50%);
    z-index: 1;
    
}

.app-screenshot-1:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate(-50%, -50%) scale(1.05);
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.app-screenshot-2:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotate(0deg) translate(-50%, -50%) scale(1.05);
    z-index: 1;
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Features Section */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
}

.feature-icon i {
    font-size: 1.75rem;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, rgba(211,47,47,0.03) 0%, rgba(255,102,89,0.03) 100%);
    padding: 5rem 0;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: white;
    box-shadow: 0 10px 20px rgba(111,66,193,0.1);
}

.step-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
}

.navbar .btn-primary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border: none;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--gradient-start) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211,47,47,0.4);
}

.btn-light {
    background: white;
    border: none;
    color: var(--primary-color);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
}

/* Results Section */
#results {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

#results::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E") repeat;
    opacity: 0.4;
}

#results .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

#results h2 {
    color: white;
}

#results .feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

    #results .result-badge {
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1.1rem;
        display: inline-block;
        background: linear-gradient(145deg, #ffffff, #e6e6e6);
        box-shadow: 3px 3px 6px #cccccc, -3px -3px 6px #ffffff;
        color: black;
    }

#results .btn-outline-primary {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

#results .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

#results .result-header h4 {
    color: white;
}

/* FAQ Section */
.custom-accordion .accordion-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    margin-bottom: 1rem;
    background: white;
}

.custom-accordion .accordion-button {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(211,47,47,0.05) 0%, rgba(255,102,89,0.05) 100%);
}

.custom-accordion .accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(211,47,47,0.25);
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    color: var(--text-dark);
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E") repeat;
    opacity: 0.4;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    opacity: 0.05;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer a:hover {
    color: white;
    transform: translateX(5px);
}

.footer .social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero .btn-group {
        justify-content: center;
    }
    
    .hero .rotator-container {
        height: 500px;
    }
    
    .hero .screenshot-slide {
        height: 400px;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .preview-container {
        height: 500px;
    }
    
    .app-screenshot {
        height: 400px;
    }
    
    .app-screenshot-1 {
        left: 45%;
    }
    
    .app-screenshot-2 {
        left: 55%;
        transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) rotate(2deg) translate(-50%, -50%) translateX(20px);
    }
    
    .app-screenshot-2:hover {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) rotate(1deg) translate(-50%, -50%) translateX(20px) scale(1.05);
    }
}

/* Tablet Specific Adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    #results .row.g-4 {
        margin: 0 -8px;
    }

    #results .col-md-4 {
        padding: 0 8px;
    }

    #results .feature-card {
        padding: 1.5rem;
    }

    #results .result-header h4 {
        font-size: 1.1rem;
    }

    #results .result-badge {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    #results .text-muted {
        font-size: 0.9rem;
    }

    #results .lottery-ball {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin: 0 3px;
    }

    #results .row.text-center .col-4 {
        padding: 0 4px;
    }

    #results .btn-outline-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    #results .result-numbers {
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Section Backgrounds */
#features {
    background: white;
    padding: 5rem 0;
}

#faq {
    background: white;
    padding: 5rem 0;
}

/* App Showcase Section */
#app-showcase {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

#app-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E") repeat;
    opacity: 0.4;
}

#app-showcase .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

#app-showcase h2 {
    color: white;
}

.screenshot-slide {
    height: 600px;
    width: auto;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.slide-caption h4 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.slide-caption p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.control-prev,
.control-next {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.control-prev:hover,
.control-next:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.indicator {
    background: rgba(255, 255, 255, 0.2);
}

.indicator.active {
    background: white;
}

/* Ad Rotator Section */
.ad-rotator {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.rotator-container {
    position: relative;
    height: 700px;
    perspective: 1000px;
}

.rotator-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%) scale(0.8);
}

.rotator-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.rotator-item.prev {
    transform: translateX(-100%) scale(0.8);
}

.screenshot-slide {
    height: 600px;
    width: auto;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
}

.slide-caption {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.slide-caption h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.slide-caption p {
    color: var(--text-dark);
    opacity: 0.7;
}

.rotator-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.control-prev,
.control-next {
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.control-prev:hover,
.control-next:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(211,47,47,0.2);
}

.rotator-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(211,47,47,0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .rotator-container {
        height: 500px;
    }
    
    .screenshot-slide {
        height: 400px;
    }
}

/* Lottery Ball Styles */
.lottery-ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow: 3px 3px 6px #cccccc, -3px -3px 6px #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    margin: 0 5px;
}
    .lottery-ball.biggerball {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(145deg, #ffffff, #e6e6e6);
        box-shadow: 3px 3px 6px #cccccc, -3px -3px 6px #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 2.0rem;
        color: #333;
        margin: 0 5px;
    }

.lottery-ball.additional {
    background: linear-gradient(145deg, #ffd700, #ffc800);
    color: #fff;
    box-shadow: 3px 3px 6px #cccccc, -3px -3px 6px #fff5cc;
}

/* Details Page Styles */
.date-navigation {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
}

.date-navigation .form-control {
    max-width: 200px;
    margin: 0 auto;
}

.prize-card {
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prize-card .display-6 {
    font-weight: 600;
    color: var(--primary-color);
}

.badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.table-sm td {
    padding: 0.5rem;
    vertical-align: middle;
}

/* Responsive adjustments for details page */
@media (max-width: 768px) {
    .date-navigation {
        padding: 1rem;
    }
    
    .date-navigation .btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .prize-card .display-6 {
        font-size: 1.5rem;
    }
    
    .badge {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .table-sm td {
        padding: 0.4rem;
        font-size: 0.9rem;
    }
}