/*
Theme Name: Roblocks-Redeem
Theme URI: http://example.com/roblocks-redeem
Description: A minimal custom theme for Roblox code redemption.
Version: 1.0.0
Author: Antigravity
Author URI: http://example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: minimal, clean
Text Domain: roblocks-redeem
*/

/* Custom Styles for Roblocks Redeem */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --bg-color: #0b0e17;
    --card-bg: #111625;
    --text-color: #ffffff;
    --accent-color: #ff003c;
    --secondary-color: #8a99ad;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.site-header {
    background: transparent;
    padding: 10px 0;
    transition: background 0.3s, padding 0.3s;
    position: relative;
    z-index: 100;
}
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-left, .header-right {
    flex: 1;
}
.header-center {
    flex: 0 0 auto;
}
.logo-link {
    text-decoration: none;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-icon {
    background-color: #ff0000; /* Red from screenshot */
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    font-style: italic; /* The 'R' looks slightly italic in the screenshot */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 10px;
}
.logo-text {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}
.logo-text .text-white {
    color: white;
}
.logo-text .text-red {
    color: #ff003c; /* Red from design system */
}
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.main-navigation li {
    margin: 0 15px;
    position: relative;
}
.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.main-navigation a:hover {
    color: var(--accent-color);
}
.btn-call {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
}
.btn-call:hover {
    background: #e60035;
    transform: translateY(-2px);
}
.btn-call:active {
    transform: translateY(0);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}
@media (max-width: 768px) {
    .header-center {
        display: none; /* Hide desktop menu */
    }
    .menu-toggle {
        display: block;
    }
    .main-navigation.toggled .nav-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 20px;
    }
    .main-navigation.toggled li {
        margin: 10px 0;
    }
    .header-container {
        justify-content: space-between;
    }
    .header-center {
        flex: 0;
        justify-content: flex-end;
    }
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    text-align: center;
}
.tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.text-red {
    color: var(--accent-color);
}
.hero-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}
.redeem-box {
    display: inline-flex;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    max-width: 600px;
}
.redeem-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    outline: none;
}
.redeem-box input::placeholder {
    color: #4a5568;
}
.btn-redeem {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-redeem:hover {
    background: #e60035;
}

/* Sections */
section {
    padding: 60px 0;
}
.text-center { text-align: center; }

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}
.col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
}
.col-md-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
    padding: 0 15px;
}

/* Cards */
.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    height: 100%;
    box-sizing: border-box;
}
.bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
}
.bullet.red { background: var(--accent-color); }

/* Why Use Portal */
.why-use-box {
    margin-top: 60px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
}
.why-use-box h3 {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

/* Accordion */
.accordion-item {
    background: var(--card-bg);
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}
.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}
.accordion-content {
    padding: 0 20px 20px 20px;
    color: var(--secondary-color);
}

/* Contact Box */
.contact-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}
.btn-contact {
    display: inline-block;
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

/* Footer */
.site-footer {
    background: #070a10;
    padding: 60px 0 30px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
    margin-bottom: 40px;
    text-align: center;
}
.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer-tagline {
    color: var(--secondary-color);
    font-size: 1.1rem;
}
.footer-middle {
    margin-bottom: 40px;
}
.footer-middle h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-middle ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-middle li {
    margin-bottom: 10px;
}
.footer-middle a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-middle a:hover {
    color: white;
}
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4a5568;
    font-size: 0.9rem;
}
.footer-bottom-links a {
    color: #4a5568;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: white;
}

/* Pages */
.entry-header {
    margin-bottom: 40px;
    text-align: center;
}
.entry-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: white;
}
.entry-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    max-width: 800px;
    margin: 0 auto;
}
.entry-content h2 {
    color: white;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.entry-content p {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}
.entry-content a {
    color: var(--accent-color);
    text-decoration: none;
}
.entry-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-middle .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        margin-top: 10px;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
}
@media (max-width: 480px) {
    .footer-middle .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
