:root {
    --primary-color: #FF9F1C;     /* Warm orange like toasted bread */
    --secondary-color: #E71D36;   /* Red */
    --accent-color: #E71D36;      /* Tomato red */
    --bread-color: #FFE0A3;       /* Light bread color */
    --dark-color: #594A3C;        /* Dark brown like whole grain */
    --light-color: #FFF8E8;       /* Off-white like mayo */
}

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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    margin-top: 80px; /* or padding-top: 80px; */
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #594A3C;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
    border-bottom: 2px solid #FF9F1C;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 0px var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto; /* Push menu to the right */
}

nav ul li a {
    color: var(--bread-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

nav ul li a i {
    font-size: 1.1rem;
}

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

.hero {
    position: relative;
    height: 75vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: url('images/bread-border.png') repeat-x;
    z-index: 1;
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 3px 3px 0px var(--dark-color);
}

.section-title {
    text-align: center;
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    font-size: 2.5rem;
    margin: 2rem 0;
    position: relative;
}

.room-grid, .team-grid, .pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Right rotation */
.card.rotate-right {
    transform-origin: bottom right;
}

.card.rotate-right:hover {
    transform: rotate(-2deg) translateY(-5px);
    box-shadow: 5px 5px 20px rgba(0,0,0,0.15);
}

/* Left rotation */
.card.rotate-left {
    transform-origin: bottom left;
}

.card.rotate-left:hover {
    transform: rotate(2deg) translateY(-5px);
    box-shadow: -5px 5px 20px rgba(0,0,0,0.15);
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 1rem;
}

.button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.button.secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.button.primary:hover {
    background: var(--accent-color);
}

.button.secondary:hover {
    background: var(--dark-color);
    color: white;
}

.member-card, .price-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
}

.room-card::before, .member-card::before, .price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
    z-index: 2;
}

.room-card:hover, .member-card:hover {
    transform: translateY(-10px) rotate(2deg);
}

.price-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    width: 100%;
    max-width: 350px;
    height: auto;  /* Changed from fixed height */
    min-height: 650px;  /* Added minimum height */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: visible;  /* Changed from hidden to show badge */
    border: 3px solid var(--bread-color);
    position: relative;
}

.price-card::before {
    display: none;
}

.price-header {
    background: var(--dark-color);
    color: var(--bread-color);
    padding: 2.5rem 2rem;
    border-radius: 12px 12px 0 0;
    position: relative;
    text-align: center;
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 5;  /* Increased z-index */
    white-space: nowrap;  /* Prevent text wrapping */
}

.price-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--bread-color);
}

.price-features {
    padding: 2rem;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.price-features li {
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
}

.price-features li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    border-width: 4px;
    z-index: 4;  /* Increased z-index */
    margin-top: 10px;  /* Add space for the badge */
}

.featured .price-header {
    background: var(--dark-color);
    padding-top: 3rem;
}

.featured .price-icon {
    color: var(--primary-color);
}

.featured .price {
    color: var(--primary-color);
}

.featured .price-badge {
    background: var(--secondary-color);
    padding: 0.6rem 1.8rem;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 3;
}

.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.commission-btn {
    margin: 1rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    width: calc(100% - 4rem);  /* Set width with padding consideration */
    align-self: center;  /* Center the button */
}

.commission-btn i {
    font-size: 1.2rem;
}

.commission-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

footer {
    background: var(--dark-color);
    color: var(--bread-color);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Added animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.member-card img {
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    /* Removed the floating animation */
}

/* Add these new styles */
.room-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
    height: 200px;
}

.room-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.room-card:hover .room-overlay {
    opacity: 1;
}

.room-card:hover .room-image-wrapper img {
    transform: scale(1.1);
}

.room-stats {
    display: flex;
    gap: 1rem;
}

.room-tags {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.room-tags span {
    background: var(--bread-color);
    color: var(--dark-color);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.room-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.visit-btn, .gallery-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.gallery-btn {
    background: var(--bread-color);
    color: var(--dark-color);
}

/* Team member card styles */
.member-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: auto;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.member-banner {
    height: 120px;
    background: var(--dark-color);
    position: relative;
}

.member-avatar {
    margin-top: -50px;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.member-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: calc(50% - 35px);
    background: #0095F6;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 3;
}

.verified-badge i {
    font-size: 18px;
}

.member-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.member-info h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.member-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
}

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

.member-specialties {
    display: flex;
    flex-wrap: nowrap;  /* Prevent wrapping */
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
    overflow-x: auto;  /* Allow horizontal scroll if needed */
    padding: 0.5rem 0;  /* Add some vertical padding */
    -ms-overflow-style: none;  /* Hide scrollbar IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.member-specialties::-webkit-scrollbar {
    display: none;
}

.member-specialties span {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    white-space: nowrap;  /* Prevent text wrapping */
    flex-shrink: 0;  /* Prevent shrinking */
}

.member-social {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.portfolio-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.portfolio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background: var(--primary-color-dark);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--dark-color);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.support-btn {
    color: #FF4B4B !important;
    animation: pulse 2s infinite;
}

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

.member-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px dashed var(--bread-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--dark-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-color);
}

.social-links a:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Add these new pricing styles */
.pricing-section {
    background: linear-gradient(180deg, var(--bread-color) 0%, var(--light-color) 100%);
    padding: 6rem 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.price-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    width: 100%;
    max-width: 350px;
    height: auto;  /* Changed from fixed height */
    min-height: 650px;  /* Added minimum height */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: visible;  /* Changed from hidden to show badge */
    border: 3px solid var(--bread-color);
    position: relative;
}

.price-header {
    background: var(--dark-color);
    color: var(--bread-color);
    padding: 2.5rem 2rem;
    border-radius: 12px 12px 0 0;
    position: relative;
    text-align: center;
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 5;  /* Increased z-index */
    white-space: nowrap;  /* Prevent text wrapping */
}

.price-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--bread-color);
}

.price-features {
    padding: 2rem;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.price-features li {
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
}

.price-features li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    border-width: 4px;
    z-index: 4;  /* Increased z-index */
    margin-top: 10px;  /* Add space for the badge */
}

.featured .price-header {
    background: var(--dark-color);
    padding-top: 3rem;
}

.featured .price-icon {
    color: var(--primary-color);
}

.featured .price {
    color: var(--primary-color);
}

.featured .price-badge {
    background: var(--secondary-color);
    padding: 0.6rem 1.8rem;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 3;
}

.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.commission-btn {
    margin: 1rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    width: calc(100% - 4rem);  /* Set width with padding consideration */
    align-self: center;  /* Center the button */
}

.commission-btn i {
    font-size: 1.2rem;
}

.commission-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .pricing-cards {
        gap: 4rem;
        padding: 2rem;
    }
    
    .featured {
        transform: none;
        margin-top: 15px;
    }
    
    .featured:hover {
        transform: translateY(-10px);
    }
    
    .price-card {
        height: auto;
        min-height: 600px;
        margin-top: 15px;  /* Add space for badge on mobile */
    }
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .room-grid, .team-grid, .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .room-card, .member-card, .price-card {
        min-height: auto;
    }
}

/* Adjust responsive behavior */
@media (max-width: 768px) {
    .member-card {
        height: auto;  /* Allow cards to be flexible on mobile */
        min-height: 500px;
    }
}

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

/* Update portfolio button styles */
.portfolio-btn {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.portfolio-btn::before {
    content: '\f07c';  /* Folder icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.portfolio-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Update member social section */
.member-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px dashed var(--bread-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--dark-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-color);
}

.social-links a:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Update team grid spacing */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem;
    padding-top: 3rem;  /* Added more top padding */
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 20px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto; /* Enable scrolling */
    padding: 20px;
}

.modal-content {
    background: white;
    margin: 40px auto;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    width: 90%;
    max-width: 1000px;
    animation: modalSlide 0.3s ease;
}

.close-modal {
    position: fixed; /* Make close button stay visible */
    right: 30px;
    top: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

/* Room Details specific styles */
.room-details {
    margin-top: 1rem;
}

.room-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.room-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-content {
    padding: 0 1rem;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-info {
    margin: 2rem 0;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.discord-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.discord-link i {
    font-size: 1.2rem;
}

/* Simple hamburger menu styles */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--bread-color);
    border-radius: 2px;
}

/* Update media queries for mobile navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        right: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 5rem 0 2rem;
        z-index: 99;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    nav {
        z-index: 100;  /* Keep nav bar above menu */
    }

    .nav-menu.active {
        top: 0;  /* Slide to top of viewport */
    }

    .nav-menu li {
        margin: 10px 20px;
        opacity: 0;
        animation: slideIn 0.3s ease forwards;
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        margin: 0.5rem 1.5rem;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        font-size: 1.1rem;
        border: 2px solid var(--primary-color);
        backdrop-filter: blur(10px);
        font-weight: 600;
        min-height: 56px;
    }

    .nav-menu li a i {
        margin-right: 12px;
        font-size: 1.3rem;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu li a:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px) scale(1.02);
        border-color: var(--bread-color);
        box-shadow: 0 8px 20px rgba(255, 159, 28, 0.4);
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Smoother stagger animation */
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
}

/* Add hero button styles */
.hero-btn {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-btn i {
    font-size: 1.2rem;
}

/* Events Section Styles */
.events-section {
    background: linear-gradient(180deg, var(--light-color) 0%, var(--bread-color) 100%);
    padding: 6rem 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.events-grid .card {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.events-grid .card-image {
    height: 250px;
    width: 100%;
    position: relative;
}

.events-grid .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.events-grid .event-status {
    position: absolute;
    top: 0;
    right: 20px;
    padding: 0.4rem 1.2rem;
    border-radius: 0 0 15px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-status.active {
    background: #4CAF50;
    color: white;
}

.event-status.upcoming {
    background: var(--primary-color);
    color: white;
}

.event-status.completed {
    background: var(--dark-color);
    color: white;
}

.events-grid .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-grid .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.events-grid .event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.events-grid .card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events-grid .tags {
    margin-bottom: 1rem;
}

.events-grid .card-actions {
    margin-top: auto;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 3px solid var(--bread-color);
    height: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.event-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-details i {
    color: var(--primary-color);
}

.event-tags {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.event-tags span {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.event-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.event-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card:hover .event-image-wrapper img {
    transform: scale(1.1);
}

/* Add responsive styles */
@media (max-width: 768px) {
    .events-grid {
        padding: 1rem;
    }
    
    .event-card {
        max-width: 100%;
    }
}

/* Event Details Page Styles */
.event-details-section {
    background: linear-gradient(135deg, var(--light-color), var(--bread-color));
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
}

.event-details-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 3px solid var(--bread-color);
}

.event-header {
    background: var(--dark-color);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--bread-color);
    position: relative;
}

.event-header h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    margin: 1rem 0;
}

.event-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta i {
    color: var(--primary-color);
}

.event-description {
    padding: 2rem;
}

.event-description h2 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
    font-family: 'Fredoka One', cursive;
}

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

.prize-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.prize-item:hover {
    transform: translateY(-5px);
}

.prize-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.prize-item i.gold { color: #FFD700; }
.prize-item i.silver { color: #C0C0C0; }
.prize-item i.bronze { color: #CD7F32; }

.event-rules, .participation-steps {
    margin: 1rem 0;
    padding-left: 2rem;
}

.event-rules li, .participation-steps li {
    margin: 0.5rem 0;
    color: var(--dark-color);
}

.event-cta {
    text-align: center;
    margin: 3rem 0 1rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .event-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .prize-list {
        grid-template-columns: 1fr;
    }
    
    .event-details-section {
        padding: 6rem 1rem 2rem;
    }
}

/* Room Details Page Styles */
.room-details-section {
    background: linear-gradient(135deg, var(--light-color), var(--bread-color));
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
}

.room-details-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 3px solid var(--bread-color);
}

.room-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.room-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.room-info h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.room-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.room-content {
    padding: 2rem;
}

.room-description {
    margin-bottom: 3rem;
}

.room-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.secondary-btn {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

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

.secondary-btn:hover {
    background: var(--dark-color);
    color: var(--light-color);
}

.primary-btn:active, .secondary-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Button icon animations */
.primary-btn i, .secondary-btn i {
    transition: all 0.3s ease;
}

.primary-btn:hover i, .secondary-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Add ripple effect */
.primary-btn::after, .secondary-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.primary-btn:hover::after, .secondary-btn:hover::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.update-list, .announcement-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.update-item, .announcement-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.update-date, .announcement-date {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.update-item h3, .announcement-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.update-item ul {
    margin-left: 1.5rem;
    color: var(--dark-color);
}

.update-item li {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .room-header {
        height: 300px;
    }
    
    .room-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .room-actions {
        flex-direction: column;
    }
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    overflow-y: auto;
}

.gallery-modal .modal-content {
    background: var(--light-color);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    border: 3px solid var(--bread-color);
    position: relative;
}

.gallery-modal h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--bread-color);
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Button Updates */
.button-container {
    display: flex;
    gap: 1.2rem;
    margin: 1.5rem 0;
    padding: 0 0.5rem;
}

.button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.button.secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.button.primary:hover {
    background: var(--accent-color);
}

.button.secondary:hover {
    background: var(--dark-color);
    color: white;
}

/* Close Button Update */
.close-modal {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--dark-color);
    color: var(--bread-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--bread-color);
}

.close-modal:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

/* Update card styles */
.card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.card:hover {
    transform: rotate(-2deg) translateY(-5px);
    box-shadow: 5px 5px 20px rgba(0,0,0,0.15);
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Update tags style */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Update card description */
.card p {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Update card actions */
.card-actions {
    margin-top: auto;
    display: flex;
    gap: 1rem;
}

/* Contact/Order Modal Styles - Using specific ID */
#orderModal.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
}

#orderModal .modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 25px;
    position: relative;
    text-align: center;
}

#orderModal h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

#orderModal p {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

#orderModal .contact-info {
    margin: 2rem 0;
}

#orderModal .discord-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

#orderModal .discord-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

#orderModal .discord-link i {
    font-size: 1.2rem;
}

/* Mobile Navigation Styles */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--bread-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease;
        padding-top: 80px;
        z-index: 1000;
    }

    .nav-menu.active {
        top: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .nav-menu li a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        background: rgba(255,255,255,0.05);
        border-radius: 15px;
        margin: 0 2rem;
    }
}

.room-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.room-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.room-stats {
    display: flex;
    gap: 1rem;
    position: relative;
}

.room-stats .event-status {
    position: absolute;
    top: -250px;
    right: 0;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modal-content.room-details-modal {
    max-width: 1000px;
    padding: 0;
}

.room-details-modal .room-header {
    height: 450px;
}

.room-details-modal .room-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.room-details-modal .event-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.room-details-modal .room-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fullscreen-image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2001;
    justify-content: center;
    align-items: center;
}

.fullscreen-image img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close-fullscreen {
    position: fixed;
    right: 30px;
    top: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 2002;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-fullscreen:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.announcement {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    padding: 0.75rem 2rem;
    text-align: center;
    z-index: 999;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: "Nunito", sans-serif;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(89, 74, 60, 0.15);
}

.announcement.info {
    background-color: #FF9F1C;
    color: #FFF8E8;
    border: 2px solid #FFE0A3;
}

.announcement.warning {
    background-color: #FFE0A3;
    color: #594A3C;
    border: 2px solid #FF9F1C;
}

.announcement.alert {
    background-color: #E71D36;
    color: #FFF8E8;
    border: 2px solid #FFE0A3;
}

.announcement i {
    font-size: 1.2rem;
}

.announcement .close-btn {
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s ease;
    border: 2px solid currentColor;
    padding: 0;
    line-height: 1;
    margin-left: auto;
}

.announcement .close-btn:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile styles */
@media (max-width: 768px) {
    .announcement {
        width: 92%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        top: 75px;
    }
    
    .announcement .close-btn {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
}

/* Modal mobile responsiveness fixes */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
        padding: 1rem;
        margin: 1rem auto;
        overflow-y: auto;
    }

    .room-modal-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .room-modal-gallery {
        width: 100%;
        max-height: 200px;
        overflow-y: auto;
    }

    .room-modal-gallery img {
        width: 100%;
        height: auto;
        margin-bottom: 0.5rem;
    }

    .room-modal-info {
        width: 100%;
        padding: 0;
    }

    .room-modal-description {
        max-height: none;
        overflow-y: visible;
    }

    .room-updates {
        max-height: 200px;
        overflow-y: auto;
    }

    /* Event modal adjustments */
    .event-modal-content {
        flex-direction: column;
    }

    .event-modal-image {
        width: 100%;
        height: 200px;
    }

    .event-modal-info {
        width: 100%;
        padding: 1rem 0;
    }

    /* Room Details Modal Mobile Fixes */
    .modal-content.room-details-modal {
        max-width: 95%;
        width: 95%;
        padding: 0;
        margin: 0.5rem auto;
        max-height: 95vh;
        overflow-y: auto;
    }

    .room-details-modal .room-header {
        height: 200px; /* Much smaller on mobile */
        position: relative;
    }

    .room-details-modal .room-overlay {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .room-details-modal .event-status {
        top: 10px;
        right: 10px;
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Close button adjustments */
    .close-modal {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        z-index: 2;
    }

    /* Better touch targets */
    .modal button {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
}

/* Additional modal improvements */
.modal {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.modal-content {
    position: relative; /* For absolute positioned close button */
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

#youtube-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

#youtube-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 177.77777778vh; /* Maintain 16:9 aspect ratio */
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
}

.hero h1, .hero p, .hero .hero-buttons {
    position: relative;
    z-index: 2;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero iframe {
    pointer-events: none;
}

/* Hero Section Text Responsiveness */
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem); /* Responsive font size */
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* Popup Styling Enhancement */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.blog-post-overlay {
    z-index: 1000;
}

.login-popup {
    z-index: 2100 !important;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: min(90%, 500px);
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Mobile Optimization for Popups */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--bread-color);
    }

    .modal-header h2 {
        font-size: 1.5rem;
        margin: 0;
    }

    .close-modal {
        padding: 0.5rem;
        font-size: 1.5rem;
        color: var(--dark-color);
        opacity: 0.7;
        transition: opacity 0.2s;
    }

    .close-modal:hover {
        opacity: 1;
    }

    /* Better touch targets for mobile */
    .modal button {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }

    /* Improved form spacing on mobile */
    .modal input,
    .modal textarea,
    .modal select {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
}

/* General Mobile Optimization */
@media (max-width: 480px) {
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: clamp(0.875rem, 2vw, 1rem);
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    /* Improved button spacing */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Better touch targets for all interactive elements */
@media (max-width: 768px) {
    .hero-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 48px;
    }
    
    .commission-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .button, .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    /* Larger cards grid gaps on mobile */
    .room-grid, .team-grid, .pricing-cards {
        gap: 1rem;
        padding: 1rem;
    }
    
    /* Better card sizing */
    .card {
        border-radius: 15px;
    }
    
    .card h3 {
        font-size: 1.25rem;
    }
    
    /* Improved section titles */
    .section-title {
        font-size: 2rem;
        margin: 1.5rem 0;
    }
}

/* Smooth transitions for better UX */
.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Replace the existing loading screen styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.sandwich-loader {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.bread-top {
    background: var(--bread-color);
    border-radius: 100px 100px 20px 20px;
    height: 50px;
    transform: translateX(-50%) translateY(-200px);
    z-index: 6;
}

.bread-bottom {
    background: var(--bread-color);
    border-radius: 20px 20px 100px 100px;
    height: 50px;
    z-index: 1;
}

.lettuce {
    background: #4CAF50;
    border-radius: 60px;
    height: 35px;
    z-index: 5;
    transform: translateX(-50%) translateY(160px) scale(0.8);
}

.tomato {
    background: var(--secondary-color);
    border-radius: 50%;
    height: 30px;
    z-index: 4;
    transform: translateX(-50%) translateY(120px) scale(0.8);
}

.cheese {
    background: #FFC107;
    border-radius: 10px;
    height: 25px;
    z-index: 3;
    transform: translateX(-50%) translateY(80px) scale(0.8);
}

.meat {
    background: #8D6E63;
    border-radius: 15px;
    height: 35px;
    z-index: 2;
    transform: translateX(-50%) translateY(40px) scale(0.8);
}

.loading-text {
    margin-top: 3rem;
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    font-size: 1.4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

/* Animation states */
.loading-screen.animate .bread-top {
    transform: translateX(-50%) translateY(-40px) rotate(5deg);
}

.loading-screen.animate .bread-bottom {
    transform: translateX(-50%) translateY(40px) rotate(-5deg);
}

.loading-screen.animate .lettuce {
    transform: translateX(-50%) translateY(-10px) rotate(-8deg);
}

.loading-screen.animate .tomato {
    transform: translateX(-50%) translateY(5px) rotate(8deg);
}

.loading-screen.animate .cheese {
    transform: translateX(-50%) translateY(20px) rotate(-5deg);
}

.loading-screen.animate .meat {
    transform: translateX(-50%) translateY(35px) rotate(6deg);
}

.loading-screen.animate .loading-text {
    opacity: 1;
    transform: translateY(0);
}

/* Add bouncy effect to ingredients */
.ingredient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-screen.animate .ingredient:hover::after {
    opacity: 1;
}

/* Add some fun shadows */
.bread-top, .bread-bottom {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lettuce, .tomato, .cheese, .meat {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Add these blog styles to your existing styles.css */

.blog-header {
    background: var(--dark-color);
    color: var(--bread-color);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.blog-header h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

.blog-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 300px; /* Reduced sidebar width */
    gap: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--bread-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Add consistent spacing between elements */
}

/* Fix image display */
.blog-image {
    position: relative;
    height: 200px;
    background: var(--light-color);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Improve category sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.categories {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    border: 3px solid var(--bread-color);
    margin-bottom: 2rem;
}

.categories h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-family: 'Fredoka One', cursive;
}

.categories ul {
    list-style: none;
    padding: 0;
}

.categories li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    background: var(--light-color);
}

.categories li a:hover,
.categories li a.active {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Add responsive fixes */
@media (max-width: 1024px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 0 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        max-width: 100%;
    }
}

/* Update blog card text sizes */
.blog-card h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    font-size: 1.3rem; /* Reduced from default size */
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem; /* Smaller excerpt text */
    line-height: 1.5;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    flex: 1; /* Allow excerpt to take available space */
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem; /* Smaller meta text */
}

/* Add featured badge styling */
.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Update blog header text sizes */
.blog-header h1 {
    font-size: 2.5rem; /* Reduced from 3rem */
    margin-bottom: 0.8rem;
}

.blog-header p {
    font-size: 1.1rem; /* Reduced size */
    color: var(--bread-color);
}

/* Update sidebar text sizes */
.categories h3 {
    font-size: 1.2rem; /* Reduced size */
    margin-bottom: 1.2rem;
}

.categories li a {
    font-size: 0.95rem; /* Slightly smaller category links */
    padding: 0.7rem 1rem; /* Reduced padding */
}

/* Add hover effect for blog cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    max-width: 100%;
    border: 3px solid var(--bread-color);
}

/* Regular card hover */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Featured card specific styles */
.blog-card.featured {
    border-color: var(--primary-color);
    border-width: 4px;
    transform: none; /* Remove any initial transform */
}

/* Featured card hover - make it consistent with regular cards */
.blog-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Update featured badge */
.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Featured badge hover effect */
.blog-card:hover .featured-badge {
    transform: translateY(-2px);
}

/* Update read more button styles */
.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin-top: auto; /* Push button to bottom */
    width: 100%;
    text-decoration: none;
}

.read-more:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.read-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Add search bar styles */
.blog-search {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-container input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 3px solid var(--bread-color);
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-container i {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-color);
    font-size: 1.2rem;
}

/* Back to top button styles */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .blog-search {
        padding: 0 1rem;
    }
}

/* Recent Posts Styles */
.recent-posts {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    border: 3px solid var(--bread-color);
    margin-top: 2rem;
}

.recent-posts h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
}

.recent-posts ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-posts li a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--dark-color);
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--light-color);
}

.recent-posts li a:hover {
    transform: translateX(5px);
    background: var(--bread-color);
}

.recent-post-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recent-post-info h4 {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-date {
    font-size: 0.8rem;
    color: var(--dark-color);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recent-post-date i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .recent-posts {
        margin-top: 2rem;
    }
}

/* Blog Post Modal Styles */
.blog-post-modal {
    max-width: 1200px !important;
    padding: 0 !important;
    overflow: hidden;
    background: white;
    border-radius: 20px;
    border: 3px solid var(--bread-color);
}

.blog-post {
    display: flex;
    flex-direction: column;
}

.blog-post-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-bottom: 3px solid var(--bread-color);
}

.blog-post-content {
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.blog-post h1 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    font-size: 2.5rem;
    margin: 1.5rem 0;
    line-height: 1.3;
}

.blog-post .blog-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed var(--bread-color);
}

.blog-post .blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--dark-color);
    background: var(--light-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
}

.blog-post .blog-meta i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.blog-post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.blog-post-content ul {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.blog-post-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.blog-post-content h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
}

.share-buttons {
    margin-left: auto;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn i {
    font-size: 1.1rem;
}

.close-modal {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--dark-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--bread-color);
    z-index: 1001;
}

.close-modal:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

/* Modal Animation */
.modal {
    animation: modalFadeIn 0.3s ease-out;
}

.blog-post-modal {
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-post-modal {
        margin: 0;
        border-radius: 0;
        height: 100vh;
        overflow-y: auto;
    }

    .blog-post-image {
        height: 300px;
    }

    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post h1 {
        font-size: 2rem;
    }

    .blog-post .blog-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .share-buttons {
        width: 100%;
        margin: 1rem 0 0;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .close-modal {
        top: 1rem;
        right: 1rem;
    }
}

/* Reading Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: 1002;
    transition: width 0.1s ease;
}

/* Code Snippet Styling */
.blog-post-content pre {
    background: var(--dark-color);
    color: var(--bread-color);
    padding: 1.5rem;
    border-radius: 15px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 2px solid var(--bread-color);
}

.blog-post-content code {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Table of Contents */
.toc {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 2px solid var(--bread-color);
}

.toc h3 {
    margin-bottom: 1rem !important;
    font-size: 1.3rem !important;
}

.toc ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.toc li {
    margin-bottom: 0.5rem !important;
}

.toc a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.toc a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--bread-color);
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

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

.related-post-card {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--bread-color);
}

.related-post-card:hover {
    transform: translateY(-5px);
    background: white;
}

/* Post Reactions */
.post-reactions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.reaction-btn {
    background: var(--light-color);
    border: 2px solid var(--bread-color);
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reaction-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: white;
    border-color: var(--primary-color);
}

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

.reaction-count {
    font-size: 0.9rem;
    font-weight: bold;
}

/* Blog Admin Styles */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.admin-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--bread-color);
    transition: all 0.3s ease;
}

.admin-card-image {
    position: relative;
    height: 200px;
    background: var(--light-color);
    overflow: hidden;
}

.admin-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-card-content {
    padding: 1.5rem;
}

.admin-card-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.admin-card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background: var(--light-color);
    color: var(--dark-color);
}

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

.admin-btn.danger {
    background: var(--accent-color);
    color: white;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--bread-color);
    border-radius: 10px;
    font-size: 1rem;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

/* Share notification styles */
.share-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: white;
    color: var(--dark-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid var(--bread-color);
}

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

.share-notification.success i {
    color: #4CAF50;
}

.share-notification.error {
    border-color: #ff4444;
}

.share-notification.error i {
    color: #ff4444;
}

/* Update the blog post content styles */
.blog-post-content {
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* Add/update media styles for blog posts */
.blog-media {
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: var(--light-color);
    max-width: 100%;
}

.blog-image,
.blog-gif {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light-color);
}

.blog-image img,
.blog-gif img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.blog-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.blog-video iframe,
.blog-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Add responsive styles */
@media (min-width: 1200px) {
    .blog-media {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-media {
        margin: 1.5rem auto;
        border-radius: 8px;
    }
}

/* Add caption styles for images */
.blog-media figcaption {
    padding: 0.75rem 1rem;
    color: var(--dark-color);
    font-size: 0.9rem;
    text-align: center;
    background: var(--light-color);
    border-top: 1px solid var(--bread-color);
}

/* Blog Post Modal Content Styles */
.blog-post-content {
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* Media styles for blog post content */
.blog-post-content .blog-media {
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: var(--light-color);
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post-content .blog-image,
.blog-post-content .blog-gif {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light-color);
}

.blog-post-content .blog-image img,
.blog-post-content .blog-gif img {
    width: auto; /* Changed from 100% to auto */
    max-width: 100%; /* Ensures image doesn't overflow container */
    height: auto;
    display: block;
    object-fit: contain;
}

.blog-post-content .blog-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.blog-post-content .blog-video iframe,
.blog-post-content .blog-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Optional image captions */
.blog-post-content .blog-media figcaption {
    padding: 0.75rem 1rem;
    color: var(--dark-color);
    font-size: 0.9rem;
    text-align: center;
    background: var(--light-color);
    border-top: 1px solid var(--bread-color);
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .blog-post-content .blog-media {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post-content .blog-media {
        margin: 1.5rem auto;
        border-radius: 8px;
    }
}

/* Fix blog card image styles */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--bread-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-image {
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height */
    background: var(--light-color);
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from contain to cover */
    display: block;
}

/* Keep the content images (within blog posts) using contain */
.blog-post-content .blog-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Update blog grid to handle featured posts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

/* Add featured post styles */
.blog-card.featured {
    grid-column: 1 / -1; /* Make featured post span full width */
    max-width: 100%;
    display: flex;
    flex-direction: row; /* Make featured post horizontal */
    height: auto;
    margin-bottom: 2rem;
}

.blog-card.featured .blog-image {
    width: 40%; /* Adjust image width for featured post */
    height: 350px; /* Taller image for featured post */
}

.blog-card.featured .blog-content {
    width: 60%;
    padding: 2rem;
}

.blog-card.featured h2 {
    font-size: 1.8rem; /* Larger title for featured post */
}

.blog-card.featured p {
    font-size: 1.1rem; /* Larger excerpt for featured post */
}

/* Responsive adjustments for featured posts */
@media (max-width: 768px) {
    .blog-card.featured {
        flex-direction: column; /* Stack on mobile */
    }

    .blog-card.featured .blog-image,
    .blog-card.featured .blog-content {
        width: 100%;
    }

    .blog-card.featured .blog-image {
        height: 250px;
    }
}

/* Update blog grid styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

/* Featured post styles - make it span full width and appear at top */
.blog-card.featured {
    grid-column: 1 / -1; /* Make it span full width */
    order: -1; /* Force it to appear at the top */
    display: flex;
    flex-direction: row;
    height: auto;
    margin-bottom: 2rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--bread-color);
}

/* Blog post content styles */
.blog-post-content {
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* Table of Contents styles */
.toc {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 2px solid var(--bread-color);
}

.toc h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin: 0.5rem 0;
}

.toc a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toc a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Blog post content formatting */
.blog-post-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--dark-color);
}

.blog-post-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark-color);
}

.blog-post-content p {
    line-height: 1.8;
    margin: 1rem 0;
    color: var(--dark-color);
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Code block styles */
.blog-post-content pre {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 2px solid var(--bread-color);
}

.blog-post-content code {
    font-family: monospace;
    background: var(--light-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Update blog post content image styles */
.blog-post-content .blog-media {
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: var(--light-color);
    max-width: 100%;
}

.blog-post-content .blog-image,
.blog-post-content .blog-gif {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light-color);
    min-height: 400px; /* Set minimum height for dev blog images */
}

.blog-post-content .blog-image img,
.blog-post-content .blog-gif img {
    width: 100%; /* Make image fill width */
    height: 100%; /* Make image fill height */
    object-fit: contain; /* Keep aspect ratio */
    max-height: 800px; /* Maximum height for very tall images */
}

/* Add specific styles for dev blog images */
.blog-post-content[data-category="Development"] .blog-image,
.blog-post-content[data-category="Development"] .blog-gif {
    min-height: 500px; /* Taller minimum height for dev blogs */
}

.blog-post-content[data-category="Development"] .blog-image img,
.blog-post-content[data-category="Development"] .blog-gif img {
    max-height: 1000px; /* Allow taller images in dev blogs */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-post-content .blog-image,
    .blog-post-content .blog-gif {
        min-height: 300px;
    }
    
    .blog-post-content[data-category="Development"] .blog-image,
    .blog-post-content[data-category="Development"] .blog-gif {
        min-height: 400px;
    }
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.share-btn.discord {
    background-color: #7289DA;
    color: white;
}

.share-btn.twitter {
    background-color: #1DA1F2;
    color: white;
}

.share-btn.copy {
    background-color: #6c757d;
    color: white;
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.copy-tooltip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; }
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--bread-color);
}

.comments-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.comment-form {
    margin-bottom: 2rem;
}

.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--bread-color);
    border-radius: 12px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1);
}

.submit-comment {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.2);
}

.submit-comment:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 159, 28, 0.3);
}

.submit-comment:active {
    transform: translateY(0);
}

.submit-comment i {
    font-size: 1rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--bread-color);
}

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

.comment-author {
    font-weight: bold;
    color: var(--dark-color);
}

.comment-date {
    font-size: 0.9rem;
    color: var(--dark-color);
    opacity: 0.8;
}

.comment-content {
    line-height: 1.6;
    color: var(--dark-color);
}

.no-comments {
    text-align: center;
    color: var(--dark-color);
    opacity: 0.8;
    font-style: italic;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 12px;
    border: 2px dashed var(--bread-color);
}

/* Responsive adjustments for comments */
@media (max-width: 768px) {
    .comments-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .comment {
        padding: 1rem;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.view-more-comments {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.view-more-comments:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .view-more-comments {
        padding: 8px;
        font-size: 13px;
    }
}

.username-modal {
    max-width: 400px;
    text-align: center;
}

.username-modal h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.username-modal p {
    margin-bottom: 20px;
    color: #666;
}

.username-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.username-form input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.username-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.username-form .submit-comment {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.username-form .submit-comment i {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .username-modal {
        max-width: 90%;
        margin: 20px;
    }
    
    .username-form input {
        font-size: 14px;
        padding: 10px;
    }
}

/* Comment Actions */
.comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.edit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.edit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.edit-btn i {
    font-size: 0.9rem;
}

.report-btn {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--bread-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.report-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.report-btn:active {
    transform: translateY(0);
}

.report-btn i {
    font-size: 0.9rem;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notification.success {
    background: #10B981;
}

.notification.error {
    background: #DC2626;
}

.notification i {
    font-size: 1.2rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Edit Comment Modal Styles */
.edit-comment-modal {
    max-width: 500px;
    width: 90%;
}

.edit-comment-modal h2 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.edit-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--bread-color);
    border-radius: 12px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.edit-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.1);
}

/* Report Modal Styles */
.report-modal {
    max-width: 500px;
    padding: 2rem;
}

.report-modal h2 {
    margin-bottom: 1rem;
    color: #333;
}

.report-modal p {
    margin-bottom: 1.5rem;
    color: #666;
}

.report-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.report-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Report Details Styles */
.report-details {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fff3f3;
    border-left: 4px solid #dc3545;
    border-radius: 4px;
}

.report-details p {
    margin: 0.5rem 0;
    color: #666;
}

.report-details strong {
    color: #333;
}

/* Comment Status Styles */
.comment-status.reported {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #fff3f3;
    border-radius: 4px;
}

.comment-status.reported i {
    color: #dc3545;
    font-size: 1.2rem;
}

/* Comment Styles */
.comment {
    background: #FFF8E8;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #FF9F1C;
}

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

.comment-author {
    font-weight: bold;
    color: #594A3C;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author i {
    color: #FF9F1C;
}

.author-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.8rem;
    padding: 0.2rem 0.8rem;
    background: #FFF8E8;
    border: 1px solid #FF9F1C;
    border-radius: 15px;
    color: #594A3C;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-profile-link:hover {
    background: #FF9F1C;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(255, 159, 28, 0.3);
}

.author-profile-link:active {
    transform: translateY(0);
    box-shadow: none;
}

.comment-date {
    font-size: 0.85em;
    color: #8B7355;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-content {
    line-height: 1.5;
    color: #594A3C;
    word-break: break-word;
    position: relative;
}

.comment-content.edited::after {
    content: '(edited)';
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-left: 0.5rem;
    font-style: italic;
}

.comment-form {
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #FF9F1C;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #E71D36;
}

.submit-comment {
    background: #FF9F1C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-comment:hover {
    background: #E71D36;
    transform: translateY(-2px);
}

.submit-comment:disabled {
    background: #8B7355;
    cursor: not-allowed;
    transform: none;
}

.view-more-comments {
    width: 100%;
    padding: 10px;
    background: #FFF8E8;
    border: 2px solid #FF9F1C;
    border-radius: 8px;
    color: #594A3C;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.view-more-comments:hover {
    background: #FF9F1C;
    color: white;
}

.no-comments {
    text-align: center;
    color: #8B7355;
    font-style: italic;
    padding: 20px;
}

.login-prompt {
    text-align: center;
    padding: 20px;
    background: #FFF8E8;
    border: 2px dashed #FF9F1C;
    border-radius: 8px;
    margin-bottom: 20px;
}

.login-prompt p {
    margin: 0;
    color: #594A3C;
}

.login-prompt a {
    color: #FF9F1C;
    text-decoration: none;
    font-weight: bold;
}

.login-prompt a:hover {
    color: #E71D36;
    text-decoration: underline;
}

/* Profile View Styles */
.view-profile {
    max-width: 800px;
    margin: 8rem auto 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 3px solid #FF9F1C;
}

.view-profile .profile-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #FFF8E8;
}

.view-profile .profile-header h1 {
    font-family: 'Fredoka One', cursive;
    color: #594A3C;
    margin: 0;
}

.profile-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #FFF8E8;
    border-radius: 12px;
    border: 1px solid #FF9F1C;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h2 {
    font-family: 'Fredoka One', cursive;
    color: #594A3C;
    margin: 0;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-section h3 {
    color: #8B7355;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-section p {
    color: #594A3C;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.bio-text {
    white-space: pre-wrap;
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #E71D36;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 1rem;
}

.dev-badge i {
    font-size: 1rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
}

.error-message i {
    font-size: 3rem;
    color: #E71D36;
    margin-bottom: 1rem;
}

.error-message p {
    color: #594A3C;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.error-message .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FF9F1C;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.error-message .btn:hover {
    background: #E71D36;
    transform: translateY(-2px);
}

/* Profile Popup Styles */
.profile-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    min-width: 350px;
    max-width: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: 2px solid #FF9F1C;
    opacity: 1;
    transition: opacity 0.3s ease;
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.profile-popup.loading .profile-popup-content {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-popup-loader {
    font-size: 2rem;
    color: #FF9F1C;
}

.profile-popup.fade-out {
    opacity: 0;
}

.profile-popup-content {
    padding: 0;
    overflow: hidden;
    border-radius: 13px;
}

.profile-popup-header {
    background: #FFF8E8;
    padding: 1rem;
    border-bottom: 1px solid #FF9F1C;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-popup-header h3 {
    margin: 0;
    color: #594A3C;
    font-family: 'Fredoka One', cursive;
    flex-grow: 1;
}

.profile-popup-header .dev-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: #E71D36;
    color: white;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.close-popup {
    background: none;
    border: none;
    color: #8B7355;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: #FF9F1C;
    color: white;
}

.profile-popup-body {
    padding: 1rem;
}

.profile-field {
    margin-bottom: 1rem;
}

.profile-field:last-child {
    margin-bottom: 0;
}

.profile-field label {
    display: block;
    font-size: 0.9rem;
    color: #8B7355;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-field p {
    margin: 0;
    color: #594A3C;
    line-height: 1.4;
}

.profile-field .bio-text {
    white-space: pre-wrap;
    font-size: 0.95rem;
}

.profile-popup .error-message {
    color: #E71D36;
    text-align: center;
    padding: 1rem;
    margin: 0;
}

/* Add a subtle animation for the popup */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-popup {
    animation: popupFadeIn 0.3s ease;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #FFF8E8;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #FFF8E8;
    border-radius: 12px;
    border: 1px solid #FF9F1C;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255, 159, 28, 0.2);
}

.stat-item i {
    font-size: 1.2rem;
    color: #FF9F1C;
    margin-top: 0.2rem;
}

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

.stat-details label {
    display: block;
    font-size: 0.8rem;
    color: #8B7355;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-details p {
    color: #594A3C;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 0.2rem 0;
}

.stat-details small {
    display: block;
    color: #8B7355;
    font-size: 0.8rem;
}

.comment .dev-badge {
    display: inline-flex;
    align-items: center;
    background-color: #E71D36;
    color: #FFF8E8;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85em;
    margin-left: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.comment .dev-badge i {
    margin-right: 4px;
    font-size: 0.9em;
}
