:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --gradient-start: rgba(74, 144, 226, 0.1);
    --gradient-end: rgba(74, 144, 226, 0.05);
    --card-bg: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: url('https://images.unsplash.com/photo-1557683316-973673baf926?w=2000') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    z-index: -1;
}

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

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

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

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

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

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    margin-top: -5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.highlight {
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Updated CTA Button Styles */
.cta-container {
    position: relative;
    display: inline-block;
    margin-top: 2rem;
}

.cta-button {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.button-text {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.button-icon {
    font-size: 1.3rem;
    transform: translateX(-5px);
    opacity: 0;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.cta-button:hover .button-text {
    transform: translateX(-5px);
}

.cta-button:hover .button-icon {
    transform: translateX(0);
    opacity: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.cta-button:hover::before {
    opacity: 1;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.8) 0%, rgba(74, 144, 226, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    filter: blur(15px);
}

.cta-button:hover + .button-glow {
    opacity: 0.5;
}

/* Add animation for button click */
.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .quote-container {
        padding: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}

/* Optional: Add a pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(74, 144, 226, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    }
}

.cta-button {
    animation: pulse 2s infinite;
}

.cta-button:hover {
    animation: none;
}

/* App Grid */
#apps {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

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

.app-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #6ab0ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover::before {
    opacity: 1;
}

.app-card.active {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.app-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.app-card:hover .app-icon {
    transform: scale(1.1);
}

.app-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.app-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-button {
    background: linear-gradient(135deg, var(--primary-color), #6ab0ff);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.app-button::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 ease;
}

.app-button:hover::before {
    left: 100%;
}

/* Quote Generator Section */
.quote-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
}

.mood-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.mood-buttons button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    background-color: var(--secondary-color);
    transition: transform 0.2s;
    font-weight: 500;
}

.mood-buttons button:hover {
    transform: scale(1.05);
    background-color: var(--primary-color);
    color: white;
}

#quote-display {
    margin-top: 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 0;
    position: relative;
    margin-top: 3rem;
}

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

.company-info {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* About Section Styles */
.section-padding {
    padding: 5rem 0;
}

.about-container, .contact-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-content {
    margin-top: 2rem;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.2);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-container,
    .contact-container {
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .app-card {
        padding: 2rem;
    }
}

/* Add to your existing styles */
@keyframes highlightSection {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.highlight-section {
    animation: highlightSection 1s ease-in-out;
}

/* Ensure the apps section has a smooth transition */
#apps {
    transition: transform 0.3s ease-in-out;
}

/* Add/Update navigation styles */
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Ensure smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Add styles for the active section highlight */
section {
    transition: opacity 0.3s ease;
}

section.active {
    opacity: 1;
}

.location-finder-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.location-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.location-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.button-icon {
    font-size: 1.2rem;
}

.location-result {
    margin-top: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    background: rgba(40, 50, 80, 0.95);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.result-header h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.detail-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    word-break: break-word;
}

.refresh-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.refresh-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.refresh-button:active {
    transform: translateY(0);
}

.hidden {
    display: none;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 768px) {
    .location-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-button {
        justify-content: center;
    }
}

/* Add to your existing styles */
.location-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

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

.ip-lookup-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#ip-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
}

#ip-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

#ip-input.error {
    border-color: #e74c3c;
}

.lookup-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lookup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.ip-examples {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.location-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.location-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.item-label {
    color: #666;
    font-weight: 500;
}

.item-value {
    font-weight: 600;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .lookup-button {
        width: 100%;
        justify-content: center;
    }
}

/* Updated Modal and Pokemon finder styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#pokemon-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.search-button {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-hint {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.pokemon-result {
    margin-top: 20px;
}

.pokemon-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.pokemon-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.pokemon-name {
    font-size: 24px;
    color: #333;
    margin: 10px 0;
    text-transform: capitalize;
}

.pokemon-types {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.type-badge {
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        width: auto;
    }

    .search-container {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
    }
}

/* Policy Pages Styles */
.policy-content {
    padding: 120px 0 60px;
    min-height: calc(100vh - 100px);
}

.policy-section h1 {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.policy-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.policy-item {
    margin-bottom: 2.5rem;
}

.policy-item h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-item p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-item ul {
    list-style: none;
    padding-left: 1.5rem;
}

.policy-item ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.policy-item ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -1rem;
}

@media (max-width: 768px) {
    .policy-card {
        padding: 1.5rem;
    }
    
    .policy-section h1 {
        font-size: 2rem;
    }
    
    .policy-item h2 {
        font-size: 1.3rem;
    }
}

/* Cat Facts Page Styles */
.cat-facts-page {
    min-height: calc(100vh - 200px);
}

.cat-facts-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.cat-facts-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.fact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.fact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.fact-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.fact-body {
    position: relative;
    min-height: 100px;
}

.fact-text {
    font-size: 1.1rem;
    line-height: 1.6;
    transition: opacity 0.3s ease;
}

.facts-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature-box {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.facts-history {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

.facts-history h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.history-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background-color: rgba(41, 128, 185, 0.1);
}

.back-button {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
    .cat-facts-hero h1 {
        font-size: 2rem;
    }
    
    .fact-header {
        flex-direction: column;
        text-align: center;
    }
    
    .facts-features {
        grid-template-columns: 1fr;
    }
    
    .refresh-button {
        width: 100%;
        justify-content: center;
    }
}

/* Fact buttons container */
.fact-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Copy button styles */
.copy-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #27ae60; /* Green color for copy button */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.copy-button:hover {
    background: #219a52; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.copy-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.copy-button.copied {
    background: #2ecc71; /* Lighter green when copied */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fact-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .copy-button {
        width: 100%;
        justify-content: center;
    }
}

/* CoinDesk Page Styles */
.coindesk-page {
    min-height: calc(100vh - 200px);
}

.coindesk-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.coindesk-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.price-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.update-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#lastUpdated {
    color: #666;
    font-size: 0.9rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.currency-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

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

.currency-icon {
    font-size: 2rem;
}

.currency-details {
    flex-grow: 1;
}

.currency-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-change {
    font-size: 0.9rem;
    font-weight: 500;
}

.price-change.positive {
    color: #2ecc71;
}

.price-change.negative {
    color: #e74c3c;
}

.info-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.disclaimer {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.disclaimer a {
    color: var(--primary-color);
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .coindesk-hero h1 {
        font-size: 2rem;
    }
    
    .price-header {
        flex-direction: column;
        text-align: center;
    }
    
    .update-info {
        flex-direction: column;
    }
    
    .currency-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Agify Page Styles */
.agify-page {
    min-height: calc(100vh - 200px);
}

.agify-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.agify-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.predictor-card {
    background: rgba(25, 35, 55, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-section {
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.name-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.name-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.name-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.predict-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.predict-button:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.predict-button:active {
    transform: translateY(0);
}

.result-section {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.result-section:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.result-card {
    background: rgba(40, 50, 80, 0.95);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.name-display {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 1rem;
    font-weight: 600;
}

.age-result {
    margin: 2rem 0;
}

.age-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.age-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
}

.result-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.detail-item {
    text-align: center;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.2rem;
    color: #3498db;
    font-weight: 600;
}

.history-section {
    margin-top: 2rem;
}

.history-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-item {
    background: rgba(40, 50, 80, 0.95);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.history-item:hover {
    background: rgba(50, 60, 100, 0.95);
    transform: translateX(5px);
}

.history-name {
    font-weight: 600;
    color: #3498db;
}

.history-age {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.history-timestamp {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .agify-hero h1 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .predict-button {
        width: 100%;
    }
    
    .result-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .history-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Age Predictor Icon Styles */
.age-predict-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.age-predict-icon .icon-text {
    position: absolute;
    left: 10px;
    font-size: 2rem;
    font-weight: 600;
    color: white;
}

.age-predict-icon .icon-symbol {
    position: absolute;
    right: 5px;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* App icon container */
.app-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Hover effect */
.app-card:hover .age-predict-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Location Finder Page Styles */
.location-page {
    min-height: calc(100vh - 200px);
}

.location-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.location-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.location-card {
    background: rgba(25, 35, 55, 0.95);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.method-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    min-width: 200px;
    justify-content: center;
}

.method-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.method-divider {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.ip-input-group {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
}

.ip-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.ip-input:focus {
    outline: none;
    border-color: #3498db;
}

.location-result {
    margin-top: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.location-result.hidden {
    display: none;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-icon {
    font-size: 1.5rem;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.detail-value {
    color: #fff;
    font-size: 1.1rem;
    word-break: break-word;
}

@media (max-width: 768px) {
    .ip-input-group {
        flex-direction: column;
    }
    
    .method-button {
        width: 100%;
    }
}

/* ZIP Code Page Styles */
.zipcode-page {
    min-height: calc(100vh - 200px);
}

.zipcode-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.zipcode-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.zipcode-card {
    background: rgba(25, 35, 55, 0.95);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.zipcode-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.zipcode-input:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.1);
}

.lookup-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.lookup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.result-section {
    margin-top: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.result-card {
    background: rgba(40, 50, 80, 0.95);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zipcode-display {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

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

.detail-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.history-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.history-section h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .lookup-button {
        width: 100%;
    }
    
    .history-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Universities Page Styles */
.universities-page {
    min-height: calc(100vh - 200px);
}

.universities-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.universities-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.universities-card {
    background: rgba(25, 35, 55, 0.95);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.country-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.country-input:focus {
    outline: none;
    border-color: #3498db;
}

.search-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.popular-countries {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.quick-search-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-sort {
    display: flex;
    gap: 1rem;
}

.filter-input {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
}

.university-item {
    background: rgba(40, 50, 80, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.university-item:hover {
    transform: translateY(-2px);
    background: rgba(45, 55, 85, 0.95);
}

.uni-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.uni-name {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.uni-state {
    background: rgba(52, 152, 219, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #3498db;
}

.uni-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.uni-website {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.uni-website:hover {
    color: #2980b9;
}

.uni-domain {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@media (max-width: 768px) {
    .search-group {
        flex-direction: column;
    }
    
    .search-button {
        width: 100%;
    }
    
    .results-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-sort {
        flex-direction: column;
    }
    
    .uni-header {
        flex-direction: column;
    }
    
    .uni-state {
        align-self: flex-start;
    }
}

/* Random User Page Styles */
.random-user-page {
    min-height: calc(100vh - 200px);
}

.random-user-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.random-user-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.random-user-card {
    background: rgba(25, 35, 55, 0.95);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.controls-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.gender-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.gender-select {
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.generate-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.generate-button:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

.user-profile {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(40, 50, 80, 0.95);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.profile-name h2 {
    color: white;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.age-badge {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.detail-icon {
    font-size: 1.5rem;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.detail-value {
    color: white;
    font-size: 1.1rem;
    word-break: break-word;
}

@media (max-width: 768px) {
    .controls-section {
        flex-direction: column;
    }
    
    .gender-filter {
        width: 100%;
    }
    
    .gender-select {
        flex: 1;
    }
    
    .generate-button {
        width: 100%;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Copy Button Styles */
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.copy-button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-button:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.copy-button:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 1rem;
}

/* Copy Notification Styles */
.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.copy-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Update detail-item styles */
.detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 152, 219, 0.3);
}

.detail-item:hover .copy-button {
    opacity: 1;
}