/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b7d 50%, #ff8a95 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/lottery-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    margin-right: 8px;
    color: var(--warning-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .main-text {
    display: block;
    font-size: 4rem;
    font-weight: 900;
}

.hero-title .sub-text {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.feature-item i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.hero-cta {
    margin-bottom: 3rem;
}

.cta-primary {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: var(--primary-color);
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 36px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: linear-gradient(135deg, #c82333 0%, #e55a6c 100%) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.4);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 0 15px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.stat-icon i {
    font-size: 18px;
    color: var(--warning-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    text-align: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.phone-mockup img {
    max-width: 350px;
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    color: var(--dark-color);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.floating-card i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.card-1 {
    top: 15%;
    left: -10%;
    animation: floatCard1 4s ease-in-out infinite;
}

.card-2 {
    top: 45%;
    right: -15%;
    animation: floatCard2 4s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 20%;
    left: -5%;
    animation: floatCard3 4s ease-in-out infinite 2s;
}

/* Hero Visual Styles */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.lottery-icons-grid {
    position: absolute;
    width: 100%;
    height: 100%;
}

.icon-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.icon-circle i {
    font-size: 24px;
    color: var(--warning-color);
}

.icon-circle.icon-1 { top: 10%; left: 20%; animation-delay: 0s; }
.icon-circle.icon-2 { top: 20%; right: 15%; animation-delay: 1s; }
.icon-circle.icon-3 { bottom: 30%; left: 10%; animation-delay: 2s; }
.icon-circle.icon-4 { bottom: 15%; right: 25%; animation-delay: 3s; }
.icon-circle.icon-5 { top: 50%; left: 5%; animation-delay: 4s; }
.icon-circle.icon-6 { top: 40%; right: 5%; animation-delay: 5s; }

.central-display {
    position: relative;
    z-index: 2;
}

.lottery-ball {
    position: relative;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.lottery-ball i {
    position: absolute;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.1);
}

.ball-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
    z-index: 1;
}

.pulse-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 160px;
    height: 160px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Benefits Visual Styles */
.benefits-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 400px;
}

.showcase-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
}

.showcase-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.showcase-icon i {
    font-size: 24px;
    color: white;
}

.showcase-item h6 {
    color: white;
    font-weight: 600;
    margin: 0;
}

/* Preview Grid Styles */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.preview-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-5px);
}

.preview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.preview-icon i {
    font-size: 32px;
    color: white;
}

.preview-item h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.preview-item p {
    color: var(--secondary-color);
    margin: 0;
}

/* Results Preview Styles */
.results-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.preview-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

.preview-card .card-header i {
    margin-right: 10px;
    font-size: 20px;
}

.preview-card .card-body {
    padding: 30px 20px;
    text-align: center;
}

.preview-numbers {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.number-ball {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    animation: bounce 2s infinite;
}

.number-ball:nth-child(1) { animation-delay: 0.1s; }
.number-ball:nth-child(2) { animation-delay: 0.2s; }
.number-ball:nth-child(3) { animation-delay: 0.3s; }
.number-ball:nth-child(4) { animation-delay: 0.4s; }
.number-ball:nth-child(5) { animation-delay: 0.5s; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.preview-text {
    color: var(--secondary-color);
    margin: 0;
}

/* QR Visual Styles */
.qr-visual {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    border: 2px dashed var(--secondary-color);
}

.qr-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.qr-icon i {
    font-size: 40px;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatCard1 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-15px) translateX(5px);
    }
    66% {
        transform: translateY(10px) translateX(-5px);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(10px) translateX(-5px);
    }
    66% {
        transform: translateY(-15px) translateX(5px);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-10px) translateX(10px);
    }
    66% {
        transform: translateY(15px) translateX(-10px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title .main-text {
        font-size: 3.5rem;
    }
    
    .hero-title .sub-text {
        font-size: 1.3rem;
    }
    
    .hero-features {
        gap: 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .phone-mockup img {
        max-width: 280px;
    }
    
    .floating-card {
        font-size: 0.8rem;
        padding: 10px 14px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-title .main-text {
        font-size: 3rem;
    }
    
    .hero-title .sub-text {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .hero-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-cta {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .cta-primary {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .btn-outline-light {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .phone-mockup img {
        max-width: 250px;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .main-text {
        font-size: 2.5rem;
    }
    
    .hero-title .sub-text {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .cta-primary {
        font-size: 1rem;
        padding: 15px 30px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lottery-ball {
        width: 100px;
        height: 100px;
    }
    
    .ball-number {
        font-size: 28px;
    }
    
    .pulse-ring {
        width: 140px;
        height: 140px;
        top: -20px;
        left: -20px;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-numbers {
        gap: 5px;
    }
    
    .number-ball {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
