/* Tactical Teckel Studios - Single Page */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    color: #e8e6e3;
}

body {
    background: linear-gradient(135deg, #0c0c14 0%, #12121f 25%, #1a1a2e 50%, #0f0f18 75%, #08080c 100%);
    background-attachment: fixed;
}

a {
    color: #bd5fff;
    text-decoration: none;
}
a:hover {
    color: #d088ff;
    text-decoration: underline;
}
a:visited {
    color: #bd5fff;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

/* Center area - logo or active section */
.center-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.panel {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    text-align: center;
}

.panel.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    left: auto;
    transform: none;
}

/* Home / Logo panel */
.panel-home .main-logo {
    max-width: min(85vw, 520px);
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
}

/* Section panels */
.panel-content {
    position: relative;
    background: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 3.5rem 2.5rem 2.5rem;
    backdrop-filter: blur(12px);
    max-height: 70vh;
    overflow-y: auto;
}

.panel-content h2 {
    margin: 0 0 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
}

.panel-content p {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #c4c2bf;
}

.panel-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #a0a0a0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.panel-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Contact form */
.contact-form {
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #b8b6b3;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: #e8e6e3;
    background: rgba(15, 15, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(189, 95, 255, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.form-message {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Bet-Tracker section */
.bettracker-link {
    display: inline-block;
    margin-bottom: 1rem;
}
.bettracker-logo {
    max-width: 160px;
    height: auto;
    transition: opacity 0.2s;
}
.bettracker-link:hover .bettracker-logo {
    opacity: 0.9;
}
.bettracker-url {
    display: inline-block;
    color: #7eb8ff;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
}
.bettracker-url:visited {
    color: #7eb8ff;
}
.bettracker-url:hover {
    color: #a8d0ff;
    text-decoration: underline;
}

/* App cards */
.app-card {
    background: rgba(15, 15, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.app-card:last-of-type {
    margin-bottom: 0;
}

.app-card .app-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.app-card .app-logo.routeout-logo {
    max-width: 180px;
    border-radius: 12px;
}

.app-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.app-card p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.app-card a {
    color: #7eb8ff;
    text-decoration: none;
    font-weight: 600;
}

.app-card a:visited {
    color: #7eb8ff;
}

.app-card a:hover {
    color: #a8d0ff;
    text-decoration: underline;
}

.play-badge {
    display: inline-block;
    line-height: 0;
}

.play-badge img {
    max-height: 100px;
    display: block;
}

/* Badge PNG has large empty padding — crop it tightly */
.play-badge-lg {
    display: inline-block;
    max-height: 72px;
    overflow: hidden;
    margin: 0.15rem 0 -0.35rem;
    vertical-align: top;
}

.play-badge-lg img {
    max-height: 130px;
    margin-top: -29px;
    margin-bottom: -29px;
}

.app-or {
    margin: 0.15rem 0 0 !important;
    font-size: 0.85rem !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.2;
}

.app-card p:has(+ .app-or) {
    margin-bottom: 0.35rem;
}

/* Carousel nav */
.carousel-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 0.5rem;
}

.nav-item {
    padding: 0.6rem 1.25rem;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #a0a0a0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-item:hover {
    color: #e8e6e3;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.nav-item.active {
    color: #bd5fff;
    border-color: rgba(189, 95, 255, 0.4);
    background: rgba(189, 95, 255, 0.08);
}

/* Footer */
.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links a {
    display: inline-block;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-links img {
    height: 28px;
    width: auto;
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .page {
        padding: 1.5rem 1rem;
    }
    
    .panel-content {
        padding: 1.75rem;
    }
    
    .carousel-nav {
        margin-top: 1.5rem;
    }
    
    .nav-item {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        letter-spacing: 0.08em;
    }
}
