/* Custom styles for Haunted Puzzle Pieces */
:root {
    --primary-color: #FF8C42;
    --secondary-color: #FFA76B;
    --accent-color: #FFC4A3;
    --background-color: #FFF9F5;
    --text-color: #4A4A4A;
    --dark-bg: #2D2D2D;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Responsive iframe container */
.game-container {
    aspect-ratio: 16/9;
    max-width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.2);
    border: 3px solid var(--primary-color);
}

/* Custom button styles */
.custom-btn {
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Language switcher styles */
.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Card hover effects */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.2);
}

/* Loading animation */
.loading-spinner {
    border: 4px solid var(--background-dark);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cute Anime Style Elements */
.anime-border {
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(255, 140, 66, 0.2);
}

.cute-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.15);
}

.cute-card:hover {
    transform: translateY(-5px);
}

/* Header Styling */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-bottom: 3px solid var(--accent-color);
}

.fullscreen-btn {
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Section Styling */
section {
    padding: 40px 0;
}

section h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

/* Team Member Cards */
.team-member {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.2);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

/* History Cards */
.history-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    position: relative;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.2);
}

.history-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.2);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    border-top: 3px solid var(--primary-color);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .feature-card, .team-member, .history-card, .review-card {
        margin-bottom: 20px;
    }
} 