/* ===== BASE RESET & TYPOGRAPHY ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f0f0f;
    color: #eee;
    font-family: "Courier New", monospace;
    font-weight: bold;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ff33aa;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.1);
}

nav.nav-center {
    display: flex;
    gap: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav a, button {
    background: #ff33aa;
    color: white;
    border: none;
    padding: 12px 24px;
    font-family: "Courier New", monospace;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

nav a:hover, button:hover {
    background: #e62999;
    transform: translateY(-2px);
}

nav a.current {
    background: #e62999;
    transform: translateY(-2px);
}

#brick-icon {
    width: 50px;
    height: 50px;
    background: #ff33aa;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

#brick-icon::before {
    content: "🧱";
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ===== SITE TITLE ===== */
.site-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: "Courier New", monospace;
    font-weight: bold;
    margin: 30px 0 10px;
    color: #fff;
}

.site-subtitle, .page-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    margin: 60px 0;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.page-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 40px 0 20px;
    color: #fff;
}

/* ===== CAROUSEL STYLING ===== */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 60px;
}

.carousel-content {
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 40px;
}

.carousel-media {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.carousel-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 51, 170, 0.0);
    border: none;
    color: rgba(255, 255, 255, 0.0);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(255, 51, 170, 0.8);
    color: rgba(255, 255, 255, 1.0);
    backdrop-filter: blur(10px);
}

.carousel-arrow.left {
    left: 0;
    border-radius: 0 15px 15px 0;
}

.carousel-arrow.right {
    right: 0;
    border-radius: 15px 0 0 15px;
}

.carousel-description {
    flex: 1;
    text-align: left;
}

.carousel-description h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff33aa;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ff33aa;
    transform: scale(1.2);
}

/* ===== GAME/ASSET CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 51, 170, 0.4);
}

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

.card-content {
    padding: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: #333;
    color: #ff33aa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.rating {
    color: #aaa;
    font-size: 0.9rem;
    font-style: italic;
}

.price {
    font-size: 1.4rem;
    color: #ff33aa;
    font-weight: bold;
    margin: 10px 0;
}

.preview-button {
    background: #ff33aa;
    color: white;
    border: none;
    padding: 12px 24px;
    font-family: "Courier New", monospace;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.preview-button:hover {
    background: #e62999;
    transform: translateY(-2px);
}

/* ===== EXPANDED CARD ===== */
.card-expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #1a1a1a;
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-expanded.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.card-overlay.show {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.expanded-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.expanded-content img {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.expanded-info {
    flex: 1;
}

.expanded-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff33aa;
}

.expanded-info p {
    margin-bottom: 10px;
    color: #ccc;
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 51, 170, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ===== ABOUT CONTENT ===== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 15px;
}

.about-content h3 {
    color: #ff33aa;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #ccc;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #333;
    background: #0f0f0f;
    color: #fff;
    border-radius: 8px;
    font-family: "Courier New", monospace;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff33aa;
}

.email-contact {
    text-align: center;
    margin-top: 20px;
    color: #ccc;
}

.email-contact code {
    background: #333;
    padding: 5px 10px;
    border-radius: 4px;
    color: #ff33aa;
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 15px;
}

.legal-content h3 {
    color: #ff33aa;
    margin: 30px 0 15px 0;
    font-size: 1.3rem;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #ccc;
}

/* ===== BRICK CRACK ANIMATION ===== */
.crack-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,50 Q25,25 50,50 T100,50" stroke="white" stroke-width="2" fill="none" opacity="0.8"/><path d="M20,20 L80,80 M80,20 L20,80" stroke="white" stroke-width="1" opacity="0.6"/></svg>') no-repeat center;
    pointer-events: none;
    animation: crack 2s ease-out forwards;
    z-index: 9999;
}

@keyframes crack {
    0% { opacity: 0; transform: scale(0.1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1.5); }
}

/* ===== FOOTER ===== */
footer {
    background: #0a0a0a;
    padding: 40px 20px 20px;
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid #333;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff33aa;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    color: #ff33aa;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #e62999;
}

.copyright {
    color: #fff;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav.nav-center {
        position: static;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 12px;
        padding: 10px 16px;
    }

    .site-title {
        font-size: 1.8rem;
    }

    .carousel-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .carousel-description {
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-expanded {
        padding: 30px 20px;
        width: 95%;
    }

    .expanded-content {
        flex-direction: column;
    }

    .expanded-content img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    nav a {
        font-size: 11px;
        padding: 8px 12px;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .carousel-content {
        padding: 20px 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
