@import url('https://fonts.googleapis.com/css2?family=Minecraft&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color-rgb: 75, 0, 130;
    --primary-color: #4b0082;
    --primary-hover: #6a0dad;
    --secondary-color: #0066cc;
    --secondary-hover: #005bb5;
    --accent-color: #00e676;
    --bg-dark: #121218;
    --bg-card: #1a1a24;
    --text-light: #f0f0f0;
    --border-color: #333340;
    --minecraft-font: 'Minecraft', sans-serif;
    --glass-bg: rgba(30, 30, 45, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* --- GENERAL & BODY STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234b0082' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2-H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(circle at 10% 20%, rgba(75, 0, 130, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 102, 204, 0.09) 0%, transparent 25%);
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.8s;
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader:before {
    content: '';
    width: 60px;
    height: 60px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><rect fill="%234b0082" x="0" y="0" width="4" height="4"/><rect fill="%234b0082" x="4" y="0" width="4" height="4"/><rect fill="%234b0082" x="8" y="0" width="4" height="4"/><rect fill="%234b0082" x="12" y="0" width="4" height="4"/><rect fill="%234b0082" x="0" y="4" width="4" height="4"/><rect fill="%236a0dad" x="4" y="4" width="4" height="4"/><rect fill="%236a0dad" x="8" y="4" width="4" height="4"/><rect fill="%234b0082" x="12" y="4" width="4" height="4"/><rect fill="%234b0082" x="0" y="8" width="4" height="4"/><rect fill="%236a0dad" x="4" y="8" width="4" height="4"/><rect fill="%236a0dad" x="8" y="8" width="4" height="4"/><rect fill="%234b0082" x="12" y="8" width="4" height="4"/><rect fill="%234b0082" x="0" y="12" width="4" height="4"/><rect fill="%234b0082" x="4" y="12" width="4" height="4"/><rect fill="%234b0082" x="8" y="12" width="4" height="4"/><rect fill="%234b0082" x="12" y="12" width="4" height="4"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    animation: blockRotate 3s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
    filter: drop-shadow(0 0 15px rgba(106, 13, 173, 0.8));
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader::after {
    content: "Loading...";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-family: var(--minecraft-font);
    font-size: 1rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--primary-color);
    animation: textPulse 1.5s infinite alternate;
}

/* --- BACKGROUND & PARTICLE EFFECTS --- */
#particles-js, .minecraft-blocks-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    pointer-events: none;
}

.minecraft-block {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: cover;
    opacity: 0.4;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
    animation: float var(--float-duration, 8s) infinite ease-in-out,
                rotate var(--rotate-duration, 20s) infinite linear;
}

/* --- SCROLL INDICATORS --- */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 300% 100%;
    z-index: 1000;
    width: 0%;
    box-shadow: 0 0 20px rgba(106, 13, 173, 0.7);
    animation: gradientMove 4s linear infinite;
}

.minecraft-scrollbar {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .minecraft-scrollbar {
    opacity: 1;
}

.minecraft-scrollbar-thumb {
    position: absolute;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 8px var(--primary-color);
    animation: glow 2s infinite alternate;
}

/* --- HEADER --- */
header {
    background-image: url('https://i.redd.it/4ec77oea73c41.gif');
    background-size: cover;
    background-position: center bottom;
    
    color: white;
    padding: 5rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    perspective: 1000px;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 24, 0.7);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2; 
}

.header-content {
    position: relative;
    z-index: 10;
}

header h1 {
    font-family: var(--minecraft-font);
    font-size: 4rem;
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 3px 3px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}
.tagline {
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0.5rem auto 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    padding: 0 1rem;
    animation: fadeInUp 1.2s forwards 0.5s ease-out;
}

.header-bg, .header-glow, .header-decoration {
    position: absolute;
    pointer-events: none;
}


/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: center;
    background-color: rgba(26, 26, 36, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 1rem;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease;
}

nav a:hover, nav a.active {
    color: white;
    background-color: rgba(75, 0, 130, 0.2);
}

nav a:hover::before, nav a.active::before {
    transform-origin: bottom left;
    transform: scaleX(1);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    width: 100%;
}

.dropdown-content a:hover {
    background-color: var(--primary-color);
}

.dropdown-content.show {
    display: block;
}


/* --- MAIN CONTENT & GRIDS --- */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.category {
    display: none;
    margin-bottom: 2rem;
    animation: fadeIn 0.6s ease-out;
}

.category.active {
    display: block;
}

.category-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.category h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;
}

.category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.item-image {
    height: 200px;
    overflow: hidden;
}

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

.item:hover .item-image img {
    transform: scale(1.1);
}

.item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-title {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
}

.item-description {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.button, .download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.7rem 1.4rem;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
}

.download-button {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
}

.button:hover, .download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


/* --- SEARCH & FILTER --- */
.search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.search-bar {
    width: 100%;
    padding: 0.8rem 1.2rem 0.8rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.filter-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
}

.filter-tag {
    padding: 0.5rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover, .filter-tag.active {
    background: var(--primary-color);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    padding-top: 3rem;
}

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 120%, rgba(var(--primary-color-rgb), 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(var(--primary-color-rgb), 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

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

.team-card-avatar {
    margin: -5.5rem auto 1.5rem;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    background: var(--bg-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.team-card:hover .team-card-avatar {
    transform: scale(1.1);
}

.team-card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-card-content {
    position: relative;
    z-index: 2;
}

.team-card-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.team-card-role {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card-bio {
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 2rem;
    min-height: 100px;
}

.join-us-card {
    border-style: dashed;
    border-color: rgba(var(--primary-color-rgb), 0.3);
}

.join-us-card:hover {
     border-color: rgba(0, 230, 118, 0.5);
}

.join-us-card .team-card-avatar {
    border-color: var(--accent-color);
}

.join-us-card .team-card-role {
    color: var(--accent-color);
}

.join-us-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-color);
    transition: transform 0.4s ease;
}

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

/* --- Button Styles for Team Cards --- */
.team-socials .button {
    width: 100%;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(var(--primary-color-rgb), 0.25);
    border: 1px solid rgba(var(--primary-color-rgb), 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-socials .button:hover {
    background: rgba(var(--primary-color-rgb), 0.5);
    border-color: var(--primary-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.6);
    color: #fff;
}

.team-socials .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.team-socials .button:hover::before {
    left: 150%;
}

.join-us-card .button {
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.4);
}

.join-us-card .button:hover {
    background: rgba(0, 230, 118, 0.3);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.6);
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(to right, #13131c, #1a1a27);
    padding: 3rem 1rem 2rem;
    color: var(--text-light);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientMove 8s linear infinite;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

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

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}


/* --- PREVIEW POPUP --- */
.preview-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(10px);
}

.preview-popup.active {
    opacity: 1;
    visibility: visible;
}

.preview-content {
    max-width: 900px;
    width: 90%;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s ease;
    position: relative;
}

.preview-popup.active .preview-content {
    transform: scale(1);
}

.preview-header {
    height: 250px;
}

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

.preview-details {
    padding: 2rem;
}

.preview-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.preview-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.preview-features h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item i {
    color: var(--accent-color);
}

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

.close-preview {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.close-preview:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: rotate(90deg);
}

/* --- TOAST NOTIFICATION --- */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-left: 4px solid var(--accent-color);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    font-size: 1.5rem;
    color: var(--accent-color);
}


/* --- ANIMATIONS --- */
@keyframes fadeInUp { to { opacity: 0.95; transform: translateY(0); } }
@keyframes galaxyShine {
    0% {
        background-position: 0% 50%, center center;
    }
    100% {
        background-position: 200% 50%, center 20%;
    }
}
@keyframes gradientMove { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes glow { 0% { box-shadow: 0 0 5px var(--primary-color); } 100% { box-shadow: 0 0 15px var(--primary-color), 0 0 25px var(--accent-color); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes blockRotate { 0% { transform: rotateY(0deg) rotateX(0deg); } 50% { transform: rotateY(180deg) rotateX(180deg); } 100% { transform: rotateY(360deg) rotateX(360deg); } }
@keyframes textPulse { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 1; transform: scale(1.1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    header h1 { font-size: 2.5rem; }
    .tagline { font-size: 1.1rem; }
    nav { overflow-x: auto; justify-content: flex-start; padding: 0; }
    nav a { padding: 1rem 1.2rem; white-space: nowrap; }
    .item-grid, .team-grid, .footer-content { grid-template-columns: 1fr; }
    .preview-content { width: 95%; }
    .preview-title { font-size: 1.5rem; }
    .feature-list { grid-template-columns: 1fr; }
    .toast { bottom: 20px; right: 20px; left: 20px; max-width: calc(100% - 40px); }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .item-grid { grid-template-columns: repeat(2, 1fr); }
}