/* Kiwi Tipster - Betting Tips Website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 50%, #6fa8dc 100%);
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: rgba(44, 85, 48, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.logo p {
    color: #a8d5a8;
    font-size: 0.9rem;
    font-weight: 300;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #a8d5a8;
}

/* Ad Banner Styles */
.ad-banner {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 1rem;
    text-align: center;
    margin: 1rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: pulse 2s infinite;
}

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

.ad-content p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.ad-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.ad-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.top-banner {
    margin-top: 0;
}

.side-banner {
    background: linear-gradient(45deg, #4a7c59, #6fa8dc);
    margin: 2rem 0;
}

.bottom-banner {
    background: linear-gradient(45deg, #8b4513, #daa520);
    margin-bottom: 2rem;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    color: white;
}

.kiwi-animation {
    position: relative;
    margin-bottom: 2rem;
}

.kiwi-bird {
    font-size: 4rem;
    animation: bounce 2s infinite;
    display: inline-block;
}

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

.kiwi-trail {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    animation: trail 3s infinite;
}

@keyframes trail {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(0); }
    50% { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(2); }
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Tip Section */
.tip-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #4a7c59;
}

.tip-header h3 {
    color: #2c5530;
    font-size: 1.5rem;
    font-weight: 600;
}

.timer {
    background: linear-gradient(45deg, #4a7c59, #6fa8dc);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.tip-content {
    text-align: center;
}

.tip-text {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 5px solid #4a7c59;
    font-weight: 500;
    line-height: 1.8;
}

/* New tip details layout */
.tip-details {
    margin-top: 1rem;
}

.tip-reason {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(108, 117, 125, 0.05);
    border-radius: 10px;
    line-height: 1.6;
    font-style: italic;
}

.tip-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tip-confidence {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.confidence-low {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.confidence-medium {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.confidence-high {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.match-info {
    color: #6c757d;
    font-size: 0.9rem;
    background: rgba(74, 124, 89, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    max-width: 60%;
}

/* Features Section */
.features {
    margin: 3rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: #2c5530;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Disclaimers Section */
.disclaimers {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(74, 124, 89, 0.2);
}

.disclaimer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.disclaimer-card {
    background: rgba(74, 124, 89, 0.05);
    border: 1px solid rgba(74, 124, 89, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.disclaimer-card h4 {
    color: #2c5530;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.disclaimer-card p {
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: justify;
}

/* Footer */
.footer {
    background: rgba(44, 85, 48, 0.95);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #a8d5a8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: #a8d5a8;
}

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

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a8d5a8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .tip-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tip-meta-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .match-info {
        max-width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .tip-section {
        padding: 1.5rem;
    }
    
    .tip-text {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .tip-reason {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .tip-confidence {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .kiwi-bird {
        font-size: 3rem;
    }
    
    .disclaimer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .disclaimer-card {
        padding: 1rem;
    }
    
    .disclaimer-card h4 {
        font-size: 0.9rem;
    }
    
    .disclaimer-card p {
        font-size: 0.8rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(74, 124, 89, 0.3);
    border-radius: 50%;
    border-top-color: #4a7c59;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Animation */
.success-flash {
    animation: successFlash 0.5s ease-in-out;
}

@keyframes successFlash {
    0% { background-color: rgba(74, 124, 89, 0.1); }
    50% { background-color: rgba(74, 124, 89, 0.3); }
    100% { background-color: rgba(74, 124, 89, 0.1); }
}