/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4facfe 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff6b6b;
}

.nav-menu a.active {
    color: #ff6b6b;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff6b6b;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4facfe 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #333;
}

.feature-card {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    margin: 0 2rem;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.feature-content {
    flex: 1;
    margin: 0 2rem;
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Button Styles */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: white;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252 0%, #26a69a 100%);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #333;
}

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

/* Search Container */
.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-container input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
}

.search-container button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-container button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

/* Map Container */
.map-container {
    height: 400px;
    background: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4ecdc4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Scanner Container */
.scanner-container {
    text-align: center;
    margin-bottom: 2rem;
}

.scanner-area {
    height: 300px;
    border: 3px dashed #4ecdc4;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
    position: relative;
    overflow: hidden;
}

.scanner-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(78, 205, 196, 0.1), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.scanner-area i {
    font-size: 4rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.scanner-area p {
    color: #666;
    font-size: 1.1rem;
}

/* History Container */
.history-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.add-ticket, .ticket-history {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.add-ticket h3, .ticket-history h3 {
    margin-bottom: 1rem;
    color: #333;
}

.add-ticket input {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Kanit', sans-serif;
}

.ticket-list {
    max-height: 300px;
    overflow-y: auto;
}

.ticket-item {
    background: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border-left: 4px solid #4ecdc4;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.2);
}

/* Dream Container */
.dream-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dream-input, .prediction-result {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.dream-input h3 {
    margin-bottom: 1rem;
    color: #333;
}

.dream-input textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Kanit', sans-serif;
    resize: vertical;
    margin-bottom: 1rem;
}

.prediction-result {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.prediction-result::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 10s infinite linear;
}

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

.prediction-result h3 {
    margin-bottom: 1rem;
}

.lucky-numbers {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.lucky-number {
    background: rgba(255,255,255,0.3);
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.lucky-number:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.4);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Store Results */
.store-results {
    margin-top: 2rem;
}

.store-item {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #4ecdc4;
    transition: all 0.3s ease;
}

.store-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.2);
    background: #f0fdfa;
}

.store-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.store-item p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Scan Result */
.scan-result {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

.scan-result.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.scan-result.error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-card.reverse {
        flex-direction: column;
    }
    
    .feature-image, .feature-content {
        margin: 1rem 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .history-container, .dream-container {
        grid-template-columns: 1fr;
    }
    
    .lucky-numbers {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
}

/* App Screenshot Styles */
.app-screenshot {
    width: 200px;
    height: 400px;
    background: #000;
    border-radius: 25px;
    padding: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.screenshot-header {
    background: #000;
    padding: 5px 10px;
    border-radius: 15px 15px 0 0;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.time {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.battery {
    width: 20px;
    height: 10px;
    border: 1px solid white;
    border-radius: 2px;
    position: relative;
}

.battery-level {
    width: 80%;
    height: 100%;
    background: #4CAF50;
    border-radius: 1px;
}

.screenshot-content {
    background: #1a1a1a;
    height: calc(100% - 30px);
    border-radius: 0 0 15px 15px;
    padding: 15px;
    color: white;
    font-size: 12px;
    overflow: hidden;
}

/* Map Screen Styles */
.map-screen .app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.map-screen .app-header h3 {
    font-size: 14px;
    font-weight: 600;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.map-area {
    height: 200px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.map-pins {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.pin {
    position: absolute;
    background: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 8px;
    font-weight: 500;
}

.pin-1 { top: 20%; left: 30%; }
.pin-2 { top: 40%; right: 20%; }
.pin-3 { top: 60%; left: 20%; }
.pin-4 { bottom: 30%; right: 30%; }

.map-legend {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 8px;
    color: #bbb;
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #333;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8px;
    color: #666;
    transition: color 0.3s ease;
}

.nav-item.active {
    color: #4ecdc4;
}

.nav-item i {
    font-size: 14px;
    margin-bottom: 2px;
}

.scan-btn {
    background: #4ecdc4;
    color: white !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
    margin-top: -10px;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

/* Scanner Screen Styles */
.scanner-screen .app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.scanner-interface {
    margin-bottom: 20px;
}

.input-field {
    display: flex;
    align-items: center;
    background: #333;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 8px 12px;
}

.input-field input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 12px;
    font-family: 'Kanit', sans-serif;
}

.input-field i {
    color: #4ecdc4;
    margin-left: 8px;
}

.search-btn {
    width: 100%;
    background: #4ecdc4;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
}

.date-picker-overlay {
    background: #2c2c2c;
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
}

.date-picker-overlay h4 {
    font-size: 12px;
    margin-bottom: 10px;
    color: white;
}

.date-list {
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.date-item {
    padding: 8px 0;
    font-size: 11px;
    color: #ccc;
    border-bottom: 1px solid #444;
}

.date-item.selected {
    background: #4ecdc4;
    color: white;
    border-radius: 5px;
    padding: 8px;
    margin: 0 -8px;
}

.picker-actions {
    display: flex;
    gap: 10px;
}

.select-btn, .cancel-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
}

.select-btn {
    background: #4ecdc4;
    color: white;
}

.cancel-btn {
    background: #666;
    color: white;
}

/* History Screen Styles */
.history-screen .app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ticket-detail {
    height: calc(100% - 40px);
    overflow-y: auto;
}

.ticket-image {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.ticket-number {
    font-size: 18px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 8px;
}

.ticket-info {
    font-size: 10px;
    color: #666;
    margin-bottom: 10px;
}

.ticket-info span {
    display: block;
    margin-bottom: 2px;
}

.qr-code {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 5px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-lines {
    width: 40px;
    height: 40px;
    background: repeating-linear-gradient(
        0deg,
        #333 0px,
        #333 2px,
        transparent 2px,
        transparent 4px
    ),
    repeating-linear-gradient(
        90deg,
        #333 0px,
        #333 2px,
        transparent 2px,
        transparent 4px
    );
}

.ticket-data {
    background: #2c2c2c;
    border-radius: 10px;
    padding: 15px;
}

.data-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 11px;
}

.data-item i {
    color: #4ecdc4;
    margin-right: 8px;
    width: 12px;
}

.data-label {
    color: #ccc;
    margin-right: 8px;
    min-width: 60px;
}

.data-value {
    color: white;
    font-weight: 600;
}

.notes-section {
    margin-top: 15px;
}

.notes-section textarea {
    width: 100%;
    background: #333;
    border: none;
    border-radius: 5px;
    padding: 8px;
    color: white;
    font-size: 10px;
    font-family: 'Kanit', sans-serif;
    resize: vertical;
    min-height: 40px;
}

/* Dream Screen Styles */
.dream-screen .app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dream-screen .app-header i:first-child {
    color: #feca57;
}

.dream-interface {
    height: calc(100% - 40px);
    overflow-y: auto;
}

.dream-input-section p {
    font-size: 11px;
    color: #ccc;
    margin-bottom: 10px;
}

.dream-input-section textarea {
    width: 100%;
    background: #333;
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-size: 11px;
    font-family: 'Kanit', sans-serif;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 15px;
}

.predict-btn {
    width: 100%;
    background: #4ecdc4;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
}

.prediction-result-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    color: white;
}

.dream-text {
    font-size: 11px;
    margin-bottom: 10px;
    font-weight: 600;
}

.interpretation {
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 15px;
    opacity: 0.9;
}

.lucky-number-section {
    text-align: center;
}

.lucky-number-section span {
    font-size: 10px;
    display: block;
    margin-bottom: 5px;
}

.lucky-number-display {
    font-size: 24px;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Hero App Showcase */
.app-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-screen {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
    color: white;
    width: 200px;
    height: 350px;
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.app-icon-small {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #4facfe 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.app-icon-small i {
    color: white;
    font-size: 14px;
}

.app-header span {
    font-size: 14px;
    font-weight: 600;
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-preview {
    display: flex;
    align-items: center;
    background: #2c2c2c;
    padding: 10px;
    border-radius: 8px;
}

.feature-preview i {
    color: #4ecdc4;
    margin-right: 10px;
    font-size: 16px;
}

.feature-preview span {
    font-size: 12px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.coin, .lottery-ball {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.coin {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: white;
    box-shadow: 0 4px 15px rgba(254, 202, 87, 0.3);
}

.lottery-ball {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.coin-1 { top: 10%; left: 10%; animation-delay: 0s; }
.coin-2 { top: 20%; right: 15%; animation-delay: 0.5s; }
.coin-3 { bottom: 20%; left: 20%; animation-delay: 1s; }

.ball-red { background: #ff6b6b; }
.ball-orange { background: #ff9f43; }
.ball-blue { background: #4ecdc4; }
.ball-purple { background: #a55eea; }

.ball-red { top: 15%; right: 10%; animation-delay: 0.3s; }
.ball-orange { top: 60%; left: 5%; animation-delay: 0.8s; }
.ball-blue { bottom: 30%; right: 25%; animation-delay: 1.3s; }
.ball-purple { bottom: 10%; left: 30%; animation-delay: 1.8s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

/* Feature List Styles */
.feature-list {
    list-style: none;
    margin: 15px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.feature-list i {
    color: #4ecdc4;
    margin-right: 8px;
    font-size: 12px;
}

/* Responsive adjustments for app screenshots */
@media (max-width: 768px) {
    .app-screenshot {
        width: 150px;
        height: 300px;
    }
    
    .phone-screen {
        width: 150px;
        height: 280px;
        padding: 15px;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-card.reverse {
        flex-direction: column;
    }
    
    .feature-image, .feature-content {
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .app-screenshot {
        width: 120px;
        height: 240px;
    }
    
    .phone-screen {
        width: 120px;
        height: 220px;
        padding: 10px;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-logo {
    width: 50px;
    height: 50px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Hero Logo Styles */
.main-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-logo {
    width: 200px;
    height: 200px;
    animation: heroLogoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

@keyframes heroLogoFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    50% { 
        transform: translateY(-10px) scale(1.05); 
    }
}

/* App Screenshot Logo Updates */
.app-icon-small {
    width: 30px;
    height: 30px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.app-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .app-logo {
        width: 40px;
        height: 40px;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .hero-logo {
        width: 150px;
        height: 150px;
    }
    
    .logo-container {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .app-logo {
        width: 35px;
        height: 35px;
    }
    
    .nav-brand h1 {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 5px;
    }
}
