/* Discovery Feed Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Override WordPress theme containers */
body .gamedev-discovery-feed,
.entry-content .gamedev-discovery-feed,
.site-content .gamedev-discovery-feed {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.gamedev-discovery-feed {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #14B8A6 0%, #06B6D4 40%, #0EA5E9 70%, #3B82F6 100%);
    background-attachment: fixed;
    color: #FEFEFE;
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* Cover white space background */
.gamedev-discovery-feed::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #14B8A6 0%, #06B6D4 40%, #0EA5E9 70%, #3B82F6 100%);
    z-index: -1;
}

/* Navigation Bar */
.discovery-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo a {
    display: block;
    line-height: 0;
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    background: linear-gradient(135deg, #06B6D4, #0EA5E9, #3B82F6);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    color: #FEFEFE;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: inline-block;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.5);
    color: #FEFEFE;
}

/* Main Discovery Feed Layout */
.discovery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 340px 100px 340px;
    position: relative;
    min-height: calc(100vh - 100px);
}

/* Discovery Feed Sidebars */
.left-sidebar {
    position: fixed;
    top: 100px;
    left: calc(50% - 700px);
    width: 280px;
    height: calc(100vh - 100px);
    overflow: hidden;
    z-index: 100;
}

.right-sidebar {
    position: fixed;
    top: 100px;
    right: calc(50% - 700px);
    width: 320px;
    height: calc(100vh - 100px);
    overflow: hidden;
    z-index: 100;
}

.sidebar-nav {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.sidebar-nav h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #22D3EE;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #E5E7EB;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.nav-item:hover {
    background: rgba(6, 182, 212, 0.2);
    color: #22D3EE;
}

.nav-icon {
    font-size: 1.3rem;
}

.trending-section, .stats-section {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #22D3EE;
}

.trending-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item:hover {
    color: #22D3EE;
}

.trending-category {
    color: #9CA3AF;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.trending-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.trending-stats {
    color: #9CA3AF;
    font-size: 0.85rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #D1D5DB;
}

.stat-value {
    font-weight: 700;
    color: #22D3EE;
}

.featured-ad-box {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 16px;
    padding: 0;
    margin-top: 20px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    overflow: hidden;
    min-height: 400px;
}

.featured-image-container {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1F2937, #374151);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feed Container */
.feed {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

/* Game Cards */
.game-card {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 480px;
}

.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(14, 165, 233, 0.6);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.3), 0 0 20px rgba(20, 184, 166, 0.2);
    background: rgba(17, 24, 39, 0.95);
}

.game-content {
    margin: 8px 0;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #22D3EE;
}

.game-description {
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.game-media {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin: 12px 0 4px 0;
    background: linear-gradient(135deg, #1F2937, #374151);
    flex-shrink: 0;
}

.game-media img,
.game-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.tag {
    background: rgba(6, 182, 212, 0.2);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    color: #22D3EE;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: auto;
}

.studio-credit {
    color: #22D3EE;
    font-size: 0.9rem;
}

.studio-credit strong {
    color: #D1D5DB;
    font-weight: 500;
}

.learn-more-btn {
    background: linear-gradient(135deg, #06B6D4, #0EA5E9, #3B82F6);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    color: #FEFEFE !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

.learn-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.5);
    color: #FEFEFE !important;
}

/* Advertisement Card */
.ad-card {
    background: linear-gradient(135deg, #F53658 0%, #C9B1FF 100%);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 16px;
    text-align: center;
    border: 2px solid rgba(245, 54, 88, 0.3);
    position: relative;
    overflow: hidden;
}

.ad-card h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.ad-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.ad-cta {
    background: rgba(22, 23, 23, 0.9);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    color: #FEFEFE;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
}

.ad-cta:hover {
    background: #161717;
    transform: scale(1.05);
}

.no-games {
    background: rgba(17, 24, 39, 0.85);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.no-games p {
    font-size: 1.2rem;
    color: #9CA3AF;
}

/* Patent UI Layout Styles */
.patent-layout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 24px 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: 1fr auto;
    gap: 24px;
    grid-template-areas:
        "sidebar main"
        "nav nav";
    height: calc(100vh - 120px);
}

/* Enhanced Left Sidebar */
.patent-left-sidebar {
    grid-area: sidebar;
    background: rgba(17, 24, 39, 0.8);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-games-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.large-game-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    flex: 1;
    min-height: 0;
}

.large-game-item:hover {
    background: rgba(6, 182, 212, 0.2);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.large-game-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #1F2937, #374151);
    margin-bottom: 12px;
}

.large-game-image img,
.large-game-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.large-game-info {
    text-align: center;
}

.large-game-info h4 {
    color: #22D3EE;
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
}

.large-game-info h4 a {
    color: inherit;
    text-decoration: none;
}

.large-game-info h4 a:hover {
    text-decoration: underline;
}

.large-game-info p {
    color: #9CA3AF;
    font-size: 0.85rem;
}

.placeholder-game {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6B7280;
}

.no-related {
    color: #9CA3AF;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Update main content to use relative positioning */
.patent-main-content {
    grid-area: main;
    background: rgba(17, 24, 39, 0.8);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.content-two-column {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    height: calc(100% - 100px); /* Leave space for ad at bottom */
}

/* Media Column - Add proper spacing */
.media-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}


.info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}





.game-header {
    margin-bottom: 16px;
}

.main-game-title {
    color: #22D3EE;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.game-subtitle {
    color: #D1D5DB;
    font-size: 1rem;
}

.game-subtitle strong {
    color: #22D3EE;
    font-weight: 600;
}

/* Media Marquee - Don't take all space */
.media-marquee {
    flex: none;
    display: flex;
    flex-direction: column;
}

.main-media {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1F2937, #374151);
    flex-shrink: 0;
    position: relative;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.main-media:hover .video-overlay {
    opacity: 1;
}

.overlay-title {
    color: #22D3EE;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.overlay-studio {
    color: #D1D5DB;
    font-size: 0.9rem;
}

.overlay-studio strong {
    color: #22D3EE;
    font-weight: 600;
}


.main-media img,
.main-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumbnails {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
}

.thumb-item {
    flex: 1; /* Each thumbnail takes equal space */
    height: 80px; /* Taller thumbnails */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: linear-gradient(135deg, #1F2937, #374151);
}

.thumb-item.active {
    border-color: #22D3EE;
}

.thumb-item.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 1.4rem;
    font-weight: bold;
}

.thumb-item:hover {
    border-color: #06B6D4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(6, 182, 212, 0.3);
}

.thumb-item img,
.thumb-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1F2937, #374151);
    color: #6B7280;
    font-size: 1.2rem;
}

.game-description-section h2 {
    color: #22D3EE;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.game-description-section p {
    color: #D1D5DB;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.game-tags-section h3 {
    color: #22D3EE;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.patent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.patent-tag {
    background: rgba(6, 182, 212, 0.2);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    color: #22D3EE;
    font-weight: 500;
}

/* Add spacing container between thumbnails and ad */
.full-width-academy-ad {
    width: 100%;
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    margin-top: 40px; /* More space from thumbnails */
    margin-bottom: 20px; /* Space from bottom */
}

.full-width-academy-ad h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #22D3EE;
    font-weight: 600;
}

.full-width-academy-ad p {
    font-size: 0.9rem;
    margin: 0 20px;
    color: #D1D5DB;
    opacity: 0.9;
    flex: 1;
}

.academy-cta-full {
    background: linear-gradient(135deg, #06B6D4, #0EA5E9, #3B82F6);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: #FEFEFE;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.academy-cta-full:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.5);
    color: #FEFEFE;
}

/* Navigation */
.patent-navigation {
    grid-area: nav;
    text-align: center;
    padding: 20px 0;
}

.nav-back,
.back-btn {
    background: linear-gradient(135deg, #06B6D4, #0EA5E9, #3B82F6);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    color: #FEFEFE;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: inline-block;
}

.nav-back:hover,
.back-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.5);
    color: #FEFEFE;
}

/* Submission Form Styles */
.gamedev-submission-form-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.gamedev-submission-form {
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.gamedev-submission-form h2 {
    color: #22D3EE;
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-align: center;
}

.gamedev-submission-form > p {
    color: #D1D5DB;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #22D3EE;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(6, 182, 212, 0.5);
    background: rgba(71, 85, 105, 0.5);
    color: #FEFEFE;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(203, 213, 225, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22D3EE;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
    background: rgba(71, 85, 105, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    display: block;
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-top: 6px;
}

.char-counter {
    display: block;
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-top: 6px;
    text-align: right;
}

.char-counter #char-count {
    color: #22D3EE;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-submit {
    margin-top: 32px;
}

.submit-btn {
    background: linear-gradient(135deg, #06B6D4, #0EA5E9, #3B82F6);
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    color: #FEFEFE;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
    display: block;
}

/* Game Detail Page Styles */
.game-detail-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 24px;
}

.game-detail-card {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.detail-title {
    color: #22D3EE;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.detail-studio {
    color: #D1D5DB;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.detail-studio strong {
    color: #22D3EE;
    font-weight: 600;
}

.detail-media {
    width: 100%;
    max-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.detail-media img,
.detail-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-description {
    margin-bottom: 30px;
}

.detail-description h2 {
    color: #22D3EE;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.detail-description p {
    color: #D1D5DB;
    line-height: 1.8;
    font-size: 1.05rem;
}

.detail-tags {
    margin-bottom: 30px;
}

.detail-tags h3 {
    color: #22D3EE;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.detail-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .left-sidebar, .right-sidebar {
        display: none;
    }
    
    .discovery-container {
        padding: 100px 24px 24px 24px;
    }
    
    .patent-layout-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "sidebar"
            "nav";
    }
    
    .patent-left-sidebar {
        position: static;
    }
    
    .related-games-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .large-game-item {
        flex-direction: column;
        text-align: center;
    }
    
    .large-game-image {
        width: 100%;
        height: 120px;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 16px;
    }
    
    .nav-logo img {
        height: 32px;
    }
    
    .login-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .discovery-container {
        padding: 100px 16px 24px 16px;
    }
    
    .game-card {
        height: auto;
        padding: 20px;
        margin-bottom: 24px;
        display: block;
    }
    
    .game-content {
        margin: 0;
    }
    
    .game-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .game-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
    }
    
    .game-media {
        height: 200px;
        margin: 12px 0 8px 0;
    }
    
    .game-tags {
        margin: 8px 0 12px 0;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        padding-top: 8px;
        margin-top: 0;
    }
    
    .studio-credit {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .learn-more-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: auto;
        align-self: center;
        min-width: 140px;
    }
    
    .patent-layout-container {
        padding: 100px 16px 24px 16px;
    }
    
    .patent-main-content {
        padding: 24px;
    }
    
    .content-two-column {
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "info"
            "ad";
    }
    
    .main-game-title {
        font-size: 2rem;
    }
    
    .main-media {
        height: 250px;
    }
    
    .media-thumbnails {
        flex-wrap: wrap;
    }
    
    .thumb-item {
        width: 60px;
        height: 45px;
    }
    
    .gamedev-submission-form-wrapper {
        padding: 16px;
        margin: 40px auto;
    }
    
    .gamedev-submission-form {
        padding: 32px 24px;
    }
    
    .gamedev-submission-form h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Game Action Buttons */
.game-actions {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 60px;
}

.steam-btn,
.website-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-align: left;
}

.steam-btn {
    background: linear-gradient(135deg, #1B2838, #2A475E);
    color: #FEFEFE;
    border: 1px solid #4C6B83;
}

.steam-btn:hover {
    background: linear-gradient(135deg, #2A475E, #1B2838);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 107, 131, 0.4);
    color: #FEFEFE;
}

.website-btn {
    background: rgba(6, 182, 212, 0.1);
    color: #22D3EE;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.website-btn:hover {
    background: rgba(6, 182, 212, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    color: #22D3EE;
}

.btn-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Adjust info column spacing */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    overflow-y: auto;
    position: relative;
}