/* KinitoPET Enhanced Stylesheet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 10px 0;
}

.main-nav li {
    margin: 5px 10px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    font-weight: bold;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    padding: 120px 20px 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(102,126,234,0.3) 0%, transparent 100%);
}

.hero-content h1 {
    font-size: 3.5em;
    color: white;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

.tagline {
    font-size: 1.5em;
    color: #ff9800;
    margin: 20px 0;
}

.hero-image {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
}

.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: linear-gradient(45deg, #ff5722, #ff9800);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,87,34,0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,87,34,0.6);
}

/* Content Sections */
.content-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.section-box h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}

.section-box > p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #666;
}

/* Section Colors */
.purple { border-top: 5px solid #9c27b0; }
.blue { border-top: 5px solid #3f51b5; }
.green { border-top: 5px solid #4caf50; }
.orange { border-top: 5px solid #ff9800; }
.pink { border-top: 5px solid #e91e63; }
.teal { border-top: 5px solid #009688; }
.yellow { border-top: 5px solid #ffeb3b; }
.cyan { border-top: 5px solid #00bcd4; }
.red { border-top: 5px solid #f44336; }

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.about-card {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.about-card h3 {
    color: #9c27b0;
    margin-bottom: 10px;
}

.about-card ul {
    list-style: none;
    padding-left: 10px;
}

.about-card li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.about-card li::before {
    content: "*";
    position: absolute;
    left: 0;
}

/* Adventure Timeline */
.adventure-timeline {
    position: relative;
    padding-left: 50px;
}

.adventure-timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #3f51b5, #667eea);
    border-radius: 2px;
}

.adventure-item {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.adventure-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(63,81,181,0.3);
}

.adventure-marker {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #3f51b5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.adventure-content h3 {
    color: #3f51b5;
    margin-bottom: 10px;
}

/* Music Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.music-card {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.music-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(76,175,80,0.3);
}

.music-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.music-card h3 {
    color: #2e7d32;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.music-card audio {
    width: 100%;
    height: 30px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Friends */
.friends-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.friend-toggle {
    display: none;
}

.friend-card {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.friend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(233,30,99,0.3);
}

.friend-avatar {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.friend-card h3 {
    color: #c2185b;
    margin-bottom: 5px;
}

.friend-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #666;
}

.friend-toggle:checked + .friend-card .friend-info {
    max-height: 100px;
    margin-top: 10px;
}

.friendship-note {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1em;
    color: #e91e63;
}

/* Games */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.game-card {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.game-card h3 {
    color: #00695c;
    margin-bottom: 10px;
}

/* Memory Game */
.memory-game {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 200px;
    margin: 20px auto;
}

.memory-card input {
    display: none;
}

.memory-card label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #009688;
    border-radius: 10px;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.memory-card label:hover {
    transform: scale(1.1);
    background: #00796b;
}

.memory-card input:checked + label {
    background: #ffd700;
    animation: spin 0.5s ease;
}

/* Quiz Game */
.quiz-game {
    text-align: left;
    padding: 10px;
}

.quiz-question p {
    font-weight: bold;
    margin-bottom: 15px;
    color: #00695c;
}

.quiz-question input {
    display: none;
}

.quiz-question label {
    display: block;
    padding: 10px;
    margin: 5px 0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-question label:hover {
    background: #b2dfdb;
}

.quiz-question input:checked + label {
    background: #4caf50;
    color: white;
}

/* Click Game */
.click-game {
    padding: 20px;
}

.heart-check {
    display: none;
}

.heart-button {
    display: inline-block;
    font-size: 1.5em;
    padding: 10px 20px;
    background: #e91e63;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 1s infinite;
}

.heart-button:hover {
    transform: scale(1.2);
}

.heart-check:checked + .heart-button {
    animation: heartbeat 0.5s infinite;
}

.click-instruction {
    margin-top: 10px;
    color: #00695c;
}

/* Poll */
.poll-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.poll-option input {
    display: none;
}

.poll-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.poll-option label:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255,152,0,0.3);
}

.poll-option input:checked + label {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
}

.poll-emoji {
    font-size: 1.5em;
    font-weight: bold;
}

/* Fun Facts */
.facts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.fact-card {
    background: linear-gradient(135deg, #e1f5fe, #b3e5fc);
    border-radius: 15px;
    overflow: hidden;
}

.fact-card summary {
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    color: #0277bd;
    transition: all 0.3s ease;
}

.fact-card summary:hover {
    background: rgba(2,119,189,0.1);
}

.fact-card p {
    padding: 15px;
    color: #666;
    border-top: 1px solid #b3e5fc;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f44336;
    box-shadow: 0 0 10px rgba(244,67,54,0.2);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #f44336, #e91e63);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(244,67,54,0.4);
}

/* Footer */
.main-footer {
    background: linear-gradient(90deg, #333, #555);
    color: white;
    padding: 30px;
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
}

.footer-tagline {
    font-size: 1.2em;
    color: #ff9800;
}

.back-to-top {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px;
    }
    
    .hero-content h1 {
        font-size: 2em;
    }
    
    .section-box {
        padding: 20px;
    }
    
    .about-grid,
    .music-grid,
    .gallery-grid,
    .friends-showcase,
    .games-container {
        grid-template-columns: 1fr;
    }
}