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

:root {
    --ronin-black: #0a0a0a;
    --ronin-darker: #050505;
    --ronin-red: #8B1010;
    --ronin-blood: #6B0808;
    --ronin-gold: #FFD700;
    --ronin-bone: #f5f5f5;
    --ronin-smoke: #333333;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --katana-slice: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    --katana-slice-rev: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

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

body {
    background-color: var(--ronin-black);
    color: var(--ronin-bone);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--ronin-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--ronin-red);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ronin-blood);
}

/* Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--ronin-smoke) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.ronin-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 16, 16, 0.3);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--ronin-bone);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-dot {
    width: 12px;
    height: 12px;
    background: var(--ronin-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ronin-red);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.ronin-link {
    color: var(--ronin-bone);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    transition: 0.3s;
    position: relative;
    padding: 5px 10px;
}

.ronin-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ronin-red);
    transition: 0.3s;
}

.ronin-link:hover {
    color: var(--ronin-red);
}

.ronin-link:hover::after {
    width: 100%;
}

/* Hero Section */
.ronin-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    background: linear-gradient(to bottom, transparent, var(--ronin-black)),
                radial-gradient(circle at center, var(--ronin-blood) 0%, transparent 70%);
}

.hero-title-container {
    position: relative;
}

.ronin-hero-title {
    font-size: 6rem;
    line-height: 1;
    color: var(--ronin-bone);
    margin-bottom: 20px;
    text-shadow: 4px 4px 0 var(--ronin-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    color: #999;
}

.hero-cta {
    margin-top: 40px;
}

.ronin-btn {
    background: var(--ronin-red);
    color: var(--ronin-bone);
    padding: 15px 40px;
    font-family: var(--font-heading);
    text-decoration: none;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    display: inline-block;
}

.ronin-btn:hover {
    background: var(--ronin-bone);
    color: var(--ronin-black);
    transform: scale(1.05);
}

/* Sections */
.ronin-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-head {
    margin-bottom: 60px;
    position: relative;
}

.section-head h2 {
    font-size: 3rem;
    color: var(--ronin-bone);
}

.head-line {
    width: 100px;
    height: 4px;
    background: var(--ronin-red);
    margin-top: 10px;
}

/* Grid Cards */
.ronin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.ronin-card {
    background: #111;
    padding: 40px;
    border: 1px solid #222;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.ronin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--ronin-red);
    transition: 0.3s;
}

.ronin-card:hover {
    background: #151515;
    border-color: var(--ronin-red);
}

.ronin-card h3 {
    margin-bottom: 20px;
    color: var(--ronin-red);
}

.ronin-card p {
    color: #888;
}

/* About Section Specifics */
.about-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-slice {
    border: 2px solid var(--ronin-red);
    padding: 10px;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 10% 90%);
}

.image-slice img {
    width: 100%;
    display: block;
    filter: grayscale(1) contrast(1.2);
}

/* Game Area */
.game-section {
    background: #050505;
    padding: 80px 0;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid var(--ronin-red);
    position: relative;
    box-shadow: 0 0 50px rgba(139, 16, 16, 0.2);
}

.game-header-ronin {
    background: var(--ronin-red);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
}

/* Footer */
.ronin-footer {
    padding: 100px 0 40px;
    background: var(--ronin-darker);
    border-top: 1px solid #1a1a1a;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--ronin-red);
}

.footer-disclaimer {
    max-width: 800px;
    color: #444;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compliance-badges {
    display: flex;
    gap: 20px;
    filter: grayscale(1) brightness(0.7);
}

.compliance-badges img {
    height: 40px;
}

/* Age Gate */
.ronin-age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ronin-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gate-container {
    text-align: center;
    max-width: 500px;
    padding: 60px;
    border: 2px solid var(--ronin-red);
    position: relative;
}

.gate-container::before {
    content: '18+';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ronin-red);
    padding: 5px 20px;
    font-family: var(--font-heading);
    font-weight: bold;
}

.gate-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.gate-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Responsiveness */
@media (max-width: 768px) {
    .ronin-hero-title {
        font-size: 3.5rem;
    }
    
    .ronin-nav {
        padding: 10px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .about-flex {
        flex-direction: column;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 30px;
    }
}
