/* Custom CSS for AussieLottoPrize */

/* Custom Color Variables */
:root {
    --dark-blue: #1A2A44;
    --gold: #FFD700;
    --red: #D32F2F;
    --light-gold: #FFF8DC;
}

/* Custom Tailwind Colors */
.bg-dark-blue {
    background-color: var(--dark-blue);
}

.text-dark-blue {
    color: var(--dark-blue);
}

.bg-gold {
    background-color: var(--gold);
}

.text-gold {
    color: var(--gold);
}

.border-gold {
    border-color: var(--gold);
}

.focus\:ring-gold:focus {
    --tw-ring-color: var(--gold);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-gold {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-gold {
    animation: pulse-gold 2s ease-in-out infinite;
}

.animate-count-up {
    animation: countUp 0.8s ease-out;
}

/* Hero Section Enhancements */
.hero-gradient {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #2C3E50 50%, var(--gold) 100%);
}

/* Intro Section Styles */
.intro {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #000;
    line-height: 1.3;
}

.intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.6;
}

.intro small {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-top: 1rem;
}

/* Hero Content Styles */
.hero-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 3rem;
    border-radius: 10px;
    max-width: 600px;
    margin-left: 0;
    margin-top: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-content h1 span {
    color: var(--gold);
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.6;
}

.play-now {
    background: #d500f9;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-now:hover {
    background: #b300d6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(213, 0, 249, 0.3);
}

/* Responsive Hero Content */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
        margin: 1rem;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .play-now {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Jackpot Counter Styles */
.jackpot-number {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Arial Black', sans-serif;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Button Styles */
.btn-primary {
    background: linear-gradient(45deg, var(--red), #E74C3C);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #E74C3C, var(--red));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--gold);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gold);
}

.swiper-slide {
    height: auto;
}

/* Form Styles */
.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Navigation Styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Animation */
.mobile-menu-enter {
    transform: translateY(-100%);
    opacity: 0;
}

.mobile-menu-enter-active {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
}

.mobile-menu-exit {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-exit-active {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .jackpot-number {
        font-size: 3rem;
    }
    
    .floating-elements {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .jackpot-number {
        font-size: 2.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .bg-dark-blue {
        background: white !important;
        color: black !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-gold {
        color: #FFD700 !important;
    }
    
    .bg-gold {
        background-color: #FFD700 !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .bg-white {
        background-color: #1a1a1a;
    }
    
    .text-gray-600 {
        color: #a0a0a0;
    }
    
    .text-gray-700 {
        color: #b0b0b0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6c200;
}

/* Selection Styles */
::selection {
    background-color: var(--gold);
    color: var(--dark-blue);
}

::-moz-selection {
    background-color: var(--gold);
    color: var(--dark-blue);
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.box-shadow-gold {
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(45deg, var(--gold), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Hover Effects for Cards */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Winner Card Styles */
.winner-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.winner-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Contact Form Enhancements */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.contact-form button {
    background: linear-gradient(45deg, var(--red), #E74C3C);
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: linear-gradient(45deg, #E74C3C, var(--red));
    transform: translateY(-2px);
}

/* Footer Enhancements */
.footer-link {
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Social Media Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--gold);
}

/* Payment Method Icons */
.payment-icon {
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.payment-icon:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Age Verification Overlay */
.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-verification-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    margin: 0 1rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gold);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 400px;
    width: 90%;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.modal input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.submit-btn {
    background: #d500f9;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #b300d6;
}

/* Testimonials Section Styles */
.testimonials {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-box {
    background-color: #d500f9;
    color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(213, 0, 249, 0.3);
}

.testimonial-box .stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-box .stars i {
    font-size: 1.2rem;
    color: #FFD700;
}

.testimonial-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.testimonial-box p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    flex-grow: 1;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonial-box {
        padding: 20px;
    }
    
    .testimonial-box h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-box p {
        font-size: 0.8rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #5a5a5a;
    color: #fff;
    padding: 40px 0;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    gap: 20px;
}

.footer-logos img {
    height: 50px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    margin-top: 20px;
    justify-content: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-logos {
        gap: 15px;
    }
    
    .footer-logos img {
        height: 40px;
    }
} 