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

:root {
    --primary-color: #2D5945;      /* Forest Green */
    --secondary-color: #FF8C42;    /* Warm Orange */
    --accent-color: #87CEEB;       /* Sky Blue */
    --background-color: #FEFEFE;   /* Cream White */
    --text-color: #2F1B14;         /* Deep Brown */
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

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

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

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

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

/* Main Layout */
.main {
    flex: 1;
    min-height: calc(100vh - 140px);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-color) 0%, #F8FFFE 100%);
    text-align: center;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    opacity: 0.3;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Animal Grid */
.animal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.animal-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.animal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.animal-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.animal-card span {
    font-weight: 500;
    color: var(--text-color);
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, var(--primary-color), #4A7C59);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.how-section, .animal-section, .testimonial-section {
    padding: 4rem 0;
}

.how-section {
    background: var(--light-gray);
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.step-number {
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Animal Types */
.animal-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.type-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

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

.type-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.type-traits span {
    background: var(--light-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-color);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
}

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

.author-name {
    font-weight: 600;
}

.author-result {
    background: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), #4A7C59);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-proof {
    margin-top: 2rem;
}

.trending-animals {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.trending-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Analyze Page Styles */
.analyze-main {
    padding: 2rem 0;
}

.analyze-header {
    text-align: center;
    margin-bottom: 3rem;
}

.analyze-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.analyze-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Camera Options */
.camera-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--medium-gray);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.option-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.option-btn:hover {
    border-color: var(--primary-color);
}

/* Camera Container */
.camera-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    position: relative;
}

#video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    margin: 0 auto;
}

.camera-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 4rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.face-guide {
    text-align: center;
    color: white;
}

.guide-text {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.face-outline {
    width: 200px;
    height: 250px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto;
    opacity: 0.8;
}

.camera-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.control-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.control-btn:not(.secondary) {
    background: var(--secondary-color);
    color: white;
}

.control-btn.secondary {
    background: var(--light-gray);
    color: var(--text-color);
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Upload Container */
.upload-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.upload-zone {
    border: 2px dashed var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: var(--light-gray);
}

.upload-zone.dragover {
    border-color: var(--secondary-color);
    background: rgba(255, 140, 66, 0.1);
}

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

.upload-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    margin-top: 1rem;
    transition: var(--transition);
}

.upload-btn:hover {
    background: #4A7C59;
}

.preview-container {
    text-align: center;
}

#previewImage {
    max-width: 100%;
    max-height: 400px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.preview-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Analysis Section */
.analysis-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    text-align: center;
}

.analysis-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.analysis-progress {
    margin: 2rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    font-weight: 500;
    color: var(--primary-color);
}

.analysis-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: var(--transition);
}

.step-item.active {
    opacity: 1;
    transform: scale(1.1);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.analysis-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

/* Tips Section */
.tips-section {
    margin-top: 3rem;
    background: var(--light-gray);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.tips-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.tip-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

/* Result Page Styles */
.result-main {
    padding: 2rem 0;
}

.result-container {
    max-width: 900px;
    margin: 0 auto;
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.result-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.result-image {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

#resultPhoto {
    max-width: 300px;
    max-height: 300px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.confidence-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

#confidenceScore {
    font-size: 1.2rem;
    font-weight: 700;
}

.animal-result {
    text-align: center;
    margin-bottom: 2rem;
}

.animal-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.animal-result h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.personality-traits, .detailed-analysis, .celebrity-match {
    margin-bottom: 2rem;
}

.personality-traits h4, .detailed-analysis h4, .celebrity-match h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.traits-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trait-item {
    background: var(--light-gray);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

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

.analysis-details {
    space-y: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-label {
    min-width: 80px;
    font-weight: 500;
}

.detail-bar {
    flex: 1;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.detail-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.detail-value {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

.celebrity-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.celebrity-item {
    text-align: center;
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.celebrity-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.celebrity-placeholder {
    font-size: 2rem;
    color: #999;
}

.celebrity-name {
    display: block;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.similarity {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
}

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

.action-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.action-btn.primary {
    background: var(--primary-color);
    color: white;
}

.action-btn.secondary {
    background: var(--light-gray);
    color: var(--text-color);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-body {
    padding: 1.5rem;
}

.share-preview {
    text-align: center;
    margin-bottom: 2rem;
}

.share-image {
    margin-bottom: 1rem;
}

#shareImage {
    max-width: 200px;
    border-radius: var(--border-radius);
}

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

.share-btn {
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    background: var(--light-gray);
    color: var(--text-color);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.share-btn.kakao { background: #FEE500; color: #000; }
.share-btn.facebook { background: #1877F2; color: white; }
.share-btn.twitter { background: #1DA1F2; color: white; }
.share-btn.instagram { background: linear-gradient(45deg, #F56040, #FFC33D); color: white; }

.other-types, .recommendation, .challenge-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.other-types h3, .recommendation h3, .challenge-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.other-animals {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.other-animal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    min-width: 100px;
}

.other-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.percentage {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
}

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

.tip-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.tip-card .tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.challenge-section {
    text-align: center;
}

.challenge-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.challenge-btn {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.challenge-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .animal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .animal-card {
        padding: 1rem;
    }
    
    .animal-icon {
        font-size: 2rem;
    }
    
    .stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step-grid, .animal-types, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .camera-controls, .preview-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .analysis-steps {
        gap: 1rem;
    }
    
    .step-item {
        font-size: 0.8rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .celebrity-grid {
        gap: 1rem;
    }
    
    .other-animals {
        gap: 0.5rem;
    }
    
    .other-animal-item {
        min-width: 80px;
        padding: 0.8rem;
    }
    
    .challenge-stats {
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .animal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .face-outline {
        width: 150px;
        height: 200px;
    }
    
    .animal-icon-large {
        font-size: 3rem;
    }
    
    .animal-result h3 {
        font-size: 2rem;
    }
}

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

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

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

/* Apply animations */
.hero-content {
    animation: fadeIn 1s ease-out;
}

.animal-card:hover .animal-icon {
    animation: pulse 0.6s ease-in-out;
}

.step-item.active .step-icon {
    animation: pulse 1s infinite;
}

.result-card {
    animation: slideUp 0.8s ease-out;
}