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

:root {
    --teal-primary: #20B2AA;
    --teal-dark: #008B8B;
    --teal-light: #48D1CC;
    --orange-accent: #FF6B35;
    --orange-light: #FF8C42;
    --blue-water: #4A90E2;
    --blue-light: #5FB3D3;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --white: #FFFFFF;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #2d2d2d 50%, var(--dark-gray) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    color: var(--white);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(32, 178, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-radius: 20px;
    border: 2px solid rgba(32, 178, 170, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.main-logo {
    height: 120px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 20px rgba(32, 178, 170, 0.5));
    transition: filter 0.3s ease;
}

.logo-link:hover .main-logo {
    filter: drop-shadow(0 0 25px rgba(32, 178, 170, 0.8));
}

.logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--teal-primary);
    background: var(--black);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(32, 178, 170, 0.5);
}

.logo-circle::before {
    content: '★';
    position: absolute;
    color: var(--white);
    font-size: 10px;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.logo-circle::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: 
        linear-gradient(var(--black), var(--black)) padding-box,
        linear-gradient(45deg, var(--teal-primary), var(--orange-accent)) border-box;
    z-index: -1;
    opacity: 0.5;
}

.logo-sun {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange-accent);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

.logo-water {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 50px;
    background: var(--blue-water);
    border-radius: 50% 50% 0 0;
    clip-path: ellipse(70% 60% at 50% 100%);
}

.logo-fish {
    position: absolute;
    right: 12px;
    bottom: 25px;
    width: 35px;
    height: 20px;
    background: var(--teal-primary);
    border-radius: 50% 0 0 50%;
    transform: rotate(-30deg);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.logo-fish::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
}

.logo-fish::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--teal-light);
    border-radius: 0 50% 50% 0;
}

.header-text h1 {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(32, 178, 170, 0.5);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.1em;
    color: var(--teal-light);
    font-weight: 300;
    opacity: 0.9;
}

.page-title {
    font-size: 2em;
    font-weight: 600;
    color: var(--white);
    margin: 15px 0 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1em;
    color: var(--gray-medium);
    font-weight: 300;
}

.search-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    border: 2px solid rgba(32, 178, 170, 0.2);
    backdrop-filter: blur(10px);
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

#locationInput {
    flex: 1;
    min-width: 250px;
    padding: 18px 20px;
    border: 2px solid rgba(32, 178, 170, 0.3);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

#locationInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#locationInput:focus {
    outline: none;
    border-color: var(--teal-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(32, 178, 170, 0.3);
}

#searchBtn, .btn-secondary {
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#searchBtn:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.6);
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-primary) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--orange-accent) 0%, var(--orange-light) 100%);
    padding: 15px 28px;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange-accent) 100%);
}

.location-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.loading {
    text-align: center;
    padding: 60px 40px;
    color: var(--white);
}

.spinner {
    border: 4px solid rgba(32, 178, 170, 0.3);
    border-top: 4px solid var(--teal-primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(32, 178, 170, 0.5);
}

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

.error {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    border: 2px solid var(--orange-accent);
    backdrop-filter: blur(10px);
}

.hidden {
    display: none;
}

.results {
    display: grid;
    gap: 25px;
}

.weather-card {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.15) 0%, rgba(74, 144, 226, 0.15) 100%);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(32, 178, 170, 0.3);
    backdrop-filter: blur(10px);
}

.weather-card h2 {
    font-size: 2em;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 600;
}

.weather-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.temperature {
    font-size: 5em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.unit {
    font-size: 0.4em;
    vertical-align: top;
    -webkit-text-fill-color: var(--white);
    opacity: 0.7;
}

.weather-icon {
    text-align: center;
}

.weather-icon img {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.weather-icon p {
    text-transform: capitalize;
    margin-top: 15px;
    font-size: 1.2em;
    color: var(--teal-light);
    font-weight: 500;
}

.fishing-rating-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(32, 178, 170, 0.3);
    backdrop-filter: blur(10px);
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.rating-header h3 {
    font-size: 1.8em;
    color: var(--white);
    font-weight: 600;
}

.rating-badge {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.rating-badge.excellent {
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-light) 100%);
}

.rating-badge.very-good {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--blue-water) 100%);
}

.rating-badge.good {
    background: linear-gradient(135deg, var(--orange-accent) 0%, var(--orange-light) 100%);
}

.rating-badge.fair {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    color: var(--dark-gray);
}

.rating-badge.poor {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
}

.score-display {
    display: flex;
    justify-content: center;
    margin: 35px 0;
}

.score-circle {
    position: relative;
    width: 180px;
    height: 180px;
}

.score-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.score-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 10;
}

.score-progress {
    fill: none;
    stroke: var(--teal-primary);
    stroke-width: 10;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s ease, stroke 0.5s ease;
    stroke-linecap: round;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--white);
}

.score-label {
    font-size: 0.4em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.main-message {
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--white);
    padding: 25px;
    background: rgba(32, 178, 170, 0.15);
    border-radius: 15px;
    margin-top: 25px;
    border: 2px solid rgba(32, 178, 170, 0.3);
}

.recommendations-card,
.time-recommendations-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(32, 178, 170, 0.3);
    backdrop-filter: blur(10px);
}

.recommendations-card h3,
.time-recommendations-card h3 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendations-card ul,
.time-recommendations-card ul {
    list-style: none;
}

.recommendations-card li,
.time-recommendations-card li {
    padding: 15px;
    margin-bottom: 12px;
    background: rgba(32, 178, 170, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--teal-primary);
    color: var(--white);
    transition: all 0.3s;
}

.recommendations-card li:hover,
.time-recommendations-card li:hover {
    background: rgba(32, 178, 170, 0.2);
    transform: translateX(5px);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.detail-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 2px solid rgba(32, 178, 170, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal-primary);
    box-shadow: 0 10px 30px rgba(32, 178, 170, 0.3);
}

.detail-card h4 {
    font-size: 0.95em;
    color: var(--teal-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.detail-value {
    font-size: 2em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.detail-status {
    font-size: 0.9em;
    color: var(--teal-primary);
    font-weight: 600;
    text-transform: uppercase;
}

.forecast-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(32, 178, 170, 0.3);
    backdrop-filter: blur(10px);
}

.forecast-section h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 600;
}

.forecast-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.forecast-item {
    background: rgba(32, 178, 170, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid rgba(32, 178, 170, 0.3);
    transition: all 0.3s;
}

.forecast-item:hover {
    transform: translateY(-5px);
    background: rgba(32, 178, 170, 0.2);
    border-color: var(--teal-primary);
}

.forecast-item h4 {
    font-size: 0.9em;
    color: var(--teal-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.forecast-temp {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
    margin: 15px 0;
}

.forecast-rating {
    font-size: 0.85em;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 12px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
}

footer {
    margin-top: 60px;
    padding: 40px 20px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 2px solid rgba(32, 178, 170, 0.2);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.footer-logo-link:hover {
    transform: scale(1.1);
}

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(32, 178, 170, 0.4));
}

.footer-brand h3 {
    font-size: 1.5em;
    color: var(--teal-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-brand p {
    color: var(--teal-light);
    font-weight: 300;
}

.footer-links p {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--teal-primary);
}

.footer-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.footer-info .note {
    margin-top: 10px;
    font-size: 0.85em;
    color: var(--orange-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(32, 178, 170, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

@media (max-width: 768px) {
    header h1, .header-text h1 {
        font-size: 2em;
    }
    
    .page-title {
        font-size: 1.5em;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .main-logo {
        height: 100px;
        max-width: 120px;
    }
    
    .footer-logo {
        height: 60px;
        max-width: 80px;
    }
    
    .logo-sun {
        width: 30px;
        height: 30px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    #locationInput {
        width: 100%;
    }
    
    .temperature {
        font-size: 3.5em;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .forecast-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-section {
        flex-direction: column;
    }
    
    .main-logo {
        height: 80px;
        max-width: 100px;
    }
    
    .footer-logo {
        height: 50px;
        max-width: 70px;
    }
}
