/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			prosilver (the default phpBB 3.3.x style)
	Based on style:
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		phpBB Limited ( https://www.phpbb.com/ )
    --------------------------------------------------------------
*/

@import url("normalize.css?hash=48eb3f89");
@import url("base.css?hash=7c5543be");
@import url("utilities.css?hash=d8f72c42");
@import url("common.css?hash=a9741ba1");
@import url("links.css?hash=18286e16");
@import url("content.css?hash=be57a41d");
@import url("buttons.css?hash=56f0d25f");
@import url("cp.css?hash=50d868ab");
@import url("forms.css?hash=b64464fb");
@import url("icons.css?hash=64da33ce");
@import url("colours.css?hash=fcb2f289");
@import url("responsive.css?hash=87b53e08");

/* ===============================
   CORE-07 Global Atmosphere
================================ */

body {
    background: #1a1b26;
    color: #c0caf5;
    font-family: 'Roboto Mono', monospace;
    position: relative;
    overflow-x: hidden;
}

/* Subtle perspective grid layer */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(115,218,202,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(115,218,202,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(800px) rotateX(60deg);
    transform-origin: center top;
    animation: gridDrift 80s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

/* Slow vertical drift */
@keyframes gridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 300px, 300px 0; }
}

/* Keep forum content above background */
#wrap {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Panel styling */
.forabg,
.stat-block,
.navbar,
.headerbar {
    background-color: rgba(26, 27, 38, 0.88);
    border: 1px solid rgba(115, 218, 202, 0.15);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

/* Link styling */
a {
    color: #73daca;
}

a:hover {
    color: #8be9fd;
}

/* Merge lower stat blocks visually */
.stat-block {
    margin-bottom: 0;
    border-bottom: none;
}

.stat-block + .stat-block {
    border-top: 1px solid rgba(115,218,202,0.08);
}

/* Wrap them tighter */
.stat-block {
    padding: 12px 18px;
}

/* ===============================
   CORE-07 Dropdown Fix
================================ */

/* Main dropdown container */
.dropdown,
.dropdown-contents {
    background-color: #1a1b26 !important;
    border: 1px solid rgba(115, 218, 202, 0.2);
    border-radius: 6px;
    backdrop-filter: none;
}

/* Remove transparency from inner panels */
.dropdown-contents {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    padding: 8px 0;
}

/* Dropdown items */
.dropdown-contents li a {
    padding: 8px 14px;
    color: #c0caf5;
}

/* Hover state */
.dropdown-contents li a:hover {
    background-color: rgba(115, 218, 202, 0.08);
    color: #73daca;
}
