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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    min-height: 100vh;
}

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

header {
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

main {
    background: white;
    margin: 2rem auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.intro {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, #F5F5DC, #FFF8DC);
    border-bottom: 3px solid #D2691E;
}

.coffee-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: steam 2s ease-in-out infinite alternate;
}

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

.intro-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #5D4037;
}

.tabs {
    display: flex;
    background: #8B4513;
    justify-content: center;
}

.tab-button {
    background: none;
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    background: rgba(255,255,255,0.1);
}

.tab-button.active {
    background: rgba(255,255,255,0.2);
    border-bottom-color: #FFD700;
}

.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

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

.tab-content h2 {
    color: #8B4513;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
    border-bottom: 2px solid #D2691E;
    padding-bottom: 0.5rem;
}

.card {
    background: #FFF8DC;
    border-left: 5px solid #D2691E;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateX(5px);
}

.card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card ul {
    margin-left: 1.5rem;
}

.card li {
    margin-bottom: 0.5rem;
}

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

.method-card {
    background: linear-gradient(135deg, #F5DEB3, #DEB887);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.method-card h4 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.reminder {
    background: linear-gradient(135deg, #FFE4B5, #FFEFD5);
    border: 2px solid #D2691E;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.reminder h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

footer {
    background: rgba(139, 69, 19, 0.9);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

footer p {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 0.8rem 1rem;
    }
    
    .methods {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
}

/* Dark mode for night owls */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2C1810 0%, #4A2C17 100%);
    }
    
    main {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .intro {
        background: linear-gradient(45deg, #2C1810, #3D2317);
    }
    
    .intro-text {
        color: #D2691E;
    }
    
    .card {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .method-card {
        background: linear-gradient(135deg, #3D2317, #4A2C17);
        color: #e0e0e0;
    }
    
    .reminder {
        background: linear-gradient(135deg, #3D2317, #4A2C17);
        color: #e0e0e0;
    }
}